in reply to Re: LibXML, Namespaces, xpath expression - This should be simple.
in thread LibXML, Namespaces, xpath expression - This should be simple.
Creating a new xpc for every findnodes is not the way to go.
my $inner_xpc = XML::LibXML::XPathContext->new($nodeybits); $inner_xpc->registerNs( theNS => 'http://www.wow.com/BlahML'); $inner_xpc->findnodes(...)
can be written as
$xpc->findnodes(..., $nodeybits)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: LibXML, Namespaces, xpath expression - This should be simple.
by alittlebitdifferent (Initiate) on Oct 26, 2011 at 02:20 UTC | |
by ikegami (Patriarch) on Oct 26, 2011 at 06:56 UTC |
In Section
Seekers of Perl Wisdom