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.
In reply to Re^3: binary data in XML (semantics)
by mirod
in thread binary data in XML
by sailortailorson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |