add ability to pass XML::LibXML::Document as param
Merge pull request #4 from bor/feature/xml_doc_obj_accept

add ability to pass XML::LibXML::Document as param