XML::Simple

Jim Dixon stellt das Perl Modul XML::Simple und seine Beschränkungen vor.

Basically, Grant McLean’s XML::Simple has two functions; it converts XML text documents into Perl data structures, mixtures of anonymous hashes and arrays, and it converts such data structures back to XML text documents.

(…)

Unfortunately, you just can’t do some things with XML::Simple. I will elaborate on this in Parts 2 and 3, but XML::Simple has two major limitations. First, on input it reads the entire XML file into memory, so if the file is too big, or if you’re dealing with a stream of XML data, you can’t use the module. Secondly, it can’t deal with XML mixed content, where both text and subelements appear in the body of an element

Possibly related posts (automatically generated)