http://www.perlmonks.org?node_id=1052611


in reply to How to fetch a portion of a XML file to save it in another xml file

I agree that XSLT is the correct way to go, (using XML:LibXSLT), but it imposes a new language: xslt might be quite confronting. OTOH, when you succeed with XSLT, you can be sure the resulting XML is healty.

When that hurdle it too high, a look at XML::LibXML might be the easy alternative. Look at XML::LibXML::Node's documentation for the most complete starting docs.


Enjoy, Have FUN! H.Merijn
  • Comment on Re: How to fetch a portion of a XML file to save it in another xml file