Processing XML with Perl | Michel Rodriguez |
The Pyx Interface | Examples: PYX one-liners |
Introduction to XML::PYX
Description
XML::PYX, based on XML::Parser is the Perl implementation. It comes with 3 tools: pyx (non-validating) and pyxv (validating) output the Pyx version of the document and pyxw writes an XML version of a Pyx flow.
Why use PYX?
- you don't want to know to much about XML
- you are used to, and you like line-oriented tools
- you are just extracting some data from the XML document
- you are doing simple XML transformation
Why NOT use XML::PYX
- you want to do complex transformations
- you are more at ease with tree-processing
- you don't like writing all those regexps with \(
- you need some information from the XML documents that Pyx does not provide (comments, entity declarations...)
Related Module
XML::TiePYX (www.omsdev.com/ebohlman/perlmodules/) is easier to use on a Windows system
The Pyx Interface | Examples: PYX one-liners |