in reply to Help with XML Parsing

Transforming an XML-file into another XML-file is something that you would typically do through XSLT.

Some Perl modules which can do this are XML::XSLT (does not yet fully implement all XSLT-functions), XML::Sablotron (needs a separate install of Sablotron) or XML::LibXSLT (needs access to the Gnome project libxslt library).

XML::Sablotron is probably your best bet. I remember having installed it some years ago in an Apache webserver on Windows and it worked flawless.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: Help with XML Parsing
by Jenda (Abbot) on Aug 04, 2007 at 18:58 UTC

    That is if you're a masochist. Fiddling with XSLT, especially if you need 30 different conditions for the filtering is definitely going to be lots of fun. Transforming XML into XML using XML containing commands in XML and snippets of XML to XML xml the xml in xml xmling the Xml xML xml xml mxml xmls xml xml xml xml </xml>