Trying to call XML::LibXML::Simple like so:

my $out = XMLin $xml, HookNodes => sub {
    my ( $obj, $xml ) = @_; 


    my %hooks;
    my $xpc = XML::LibxML::XPathContext->new($xml);
  $xpc->registerNs( 'e', 'urn:foo.bar' );
  1;  
};


But I keep getting the error “Unrecognized option: HookNodes"


Kit Peters
Doer of Things, ATS Integrations



Broadbean 
610 Newport Center Dr #1400, Newport Beach, CA 929660, United States
D: 949.793.8208   M: 816.200.0279
broadbean.com <http://www.broadbean.com/> | LinkedIn 
<https://www.linkedin.com/company/broadbean-technology> | Facebook 
<https://www.facebook.com/Broadbean.Technology> | Twitter 
<https://twitter.com/BroadbeanInc> | Google+ 
<https://plus.google.com/+broadbean> | Blog <http://info.broadbean.com/blog>
_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile

Reply via email to