Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • It's not that it hard right now, it's that you can only work at the XML syntax level, and that gets tedious fast (and you can shoot yourself in the foot). I can write a SAX handler in a handful of minutes, it's not hard once you get the hang of it. But it's true that higher-level tools would certainly help people. Now, as for what those tools would be, I have no idea :)

    --

    -- Robin Berjon [berjon.com]

  • The code required to generate well-formed XML documents by directly firing the appropriate SAX events is tedious and error-prone in all but the simplest cases.


    Yes, it's tedious and error prone, but this type of XML to XML translation is better handled by XSLT.