XML::Simple for Perl Developers 186
An anonymous reader writes "XML has become pervasive in the computing world and is buried more and more deeply into modern applications and operating systems. It's imperative for the Perl programmer to develop a good understanding of how to use it. In a surprisingly large number of cases, you only need one tool to integrate XML into a Perl application, XML::Simple. This article tells you where to get it, how to use it, and where to go next."
XML::LibXML is where it's at (Score:5, Informative)
hmm (Score:3, Informative)
Simple is not good (Score:2, Informative)
XML data structure serialization (Score:2, Informative)
It makes it really easy to manipulate data in XML format.
However, qore supports deserialization of mixed text and data and multiple out-of order elements, XML attributes (imagine parsing a docbook file for example), as well as serialization (conversion of a qore data structure to an XML string) with the same features.
The same limitations regarding streaming input and very large files affect this approach, but in all other common cases, it makes it really remarkably easy to manipulate and create data in XML format using this approach.
(Qore also supports JSON with the same approach -- serialization and deserialization between JSON strings and qore data structures...)
thanks,
David
Re:XML::LibXML is where it's at (Score:4, Informative)
Re:Hello, AC (Score:2, Informative)
The Apocalypses and Synopses (which somehow you managed to quote without reading the surrounding context) explain the reasons for the changes.
XSLT can't do arithmetic? WTF? (Score:2, Informative)
That's just
Then he formats a number -- because XSLT, of course, doesn't have a format-number() [w3schools.com] function.
Next article -- why you should commute to work in an airplane because, as everyone knows, cars can't turn corners.