in reply to Extracting elements from an XML chunk leads to crash
Don't you need a call to XML::LibXML::XPathContext->new there somewhere, passing the fragment node created by parse_balanced_chunk? Or is there some cute shorthand for the xpath context you can use directly from the doc/frag node?
-David
|
|---|