implemented all methods needed by Web::Query::LibXML to work