Bare XML

"Bare XML" is a bare XML parser with all primary parsing done via a simple state engine with about 20 or so different states. A tree structure is created during parsing, with all node names and values linked via pointers directly into the original text buffer. The parser is available in a Perl module with Perl glue to turn the created tree into a Perl hash tree. The module name is XML::Bare.

XML::Bare can be obtained from CPAN.

The parser in XML Bare does not support the full XML specification. It does support Simple XML,
CDATA Sections, node attributes, and minimal mixed XML.

XML::Bare uses "Bare XML" to create a native Perl Associative array.

E4X is a similar way of accessing XML in Javascript.
 
< Prev   Next >