Schema, Parsers, validators - Other
An XML schema is a description of a type of XML document, typically expressed in terms of constraints on the structure and content of documents of that type, above and beyond the basic syntax constraints imposed by XML itself. An XML schema provides a view of the document type at a relatively high level of abstraction.
From : en.wikipedia.org/wiki/XML_schema
XML-Twig
XML::Twig: XML, The Perl Way. XML-Twig is a Perl module that subclasses XML-Parser to allow easy processing of XML documents of all sizes. A flush method allows dumping of a completely processed sub-document to be printed, thus allowing processing of documents of any size.It is a very cool module, and it comes with a tutorial and an FAQ so try it out and let me know what you think of it!
The module offers a tree interface to the document, while allowing you to output the parts of it that have been completely processed.
It allows minimal resource (CPU and memory) usage by building the tree only for the parts of the documents that need actual processing, through the use of the twig_roots and twig_print_outside_roots options. The finish and finish_print methods also help to increase performances.
XML::Twig tries to make simple things easy so it tries its best to takes care of a lot of the (usually) annoying (but sometimes necessary) features that come with XML and XML::Parser.
XML::Twig can be used either on "small" XML documents (that fit in memory) or on huge ones, by processing parts of the document and outputting or discarding them once they are processed.
visit
XML-Twig
XML-Twig was visited : 100 times
Loading .....