in reply to Re^2: binary data in XML (semantics)
in thread binary data in XML

HTML::TreeBuilder::XPath might be what you're looking for. Be aware of 2 things though: it loads the entire document in memory. Then its XML export method (as_XML, inherited from HTML::TreeBuilder) does not care about encoding at all, so it might very well produce non-well-formed XML. Which is probably what you want, come to think about it.

Replies are listed 'Best First'.
Re^4: binary data in XML (semantics)
by sailortailorson (Scribe) on Feb 28, 2008 at 20:03 UTC
    Thanks Mirod.

    Thanks for the XML tools you wrote/improved too. They have made my life orders of magnitude easier (especially being able to use XPath where I was working just before now - I got to see my kids and wife more often and for longer. )

    I am no expert in XML (you can probably tell), but I have been able to find my way along.

    Thanks all.