Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • by kungfuftr (5129) on 2004.10.18 16:06 (#35301) Journal
    Can you not use CDATA sections to encapsulate raw data within your XML?
    -Scott McWhirter- | -kungfuftr-
    "JAWK - Just Another Whiny Kid"
    • You could, but why? It makes sense if you want to embed data that XML is not good at encoding: audio, video, and other blobs. If you want to store simple, serialized data, and you're using XML for some of it, why not use it for the rest? XML parsers have been written already, and the good ones have been extensively refined and tested. The code here was using XML to store a bit of data that could've been XML. Instead, it used a different format that required a different parser. Then, that parser was cr