October 2002
Intermediate to advanced
400 pages
9h 40m
English
As I mentioned earlier, there are two types of XML data—static XML documents and dynamically generated XML documents. Two approaches to generating XML data also exist. I call them the “crazy” approach and the “lazy” approach.
Note
Remember, XML data can consist of a standalone file or XML data in memory (for example, dynamically generated XML data that is sent across a network).
The crazy approach refers to using Perl’s print function to print out all parts of the XML document. Because an XML document is just plain text, it can be easily generated using the standard Perl print function. In the next few sections, we’ll take a closer look at the ...