[Jerusalem.pm] xml parser - xml writer

Ephraim Dan ephraim.dan at exlibris.co.il
Wed Sep 1 03:21:05 PDT 2004


> Hi All,
> I search for an xml parser and an xml writer module which use the same
> datastructure in memory.
> I would like to parse an existing xml file, then change the datastructure
> in
> some way, and then write it back to file.
> Anyone has experience with similar task?

Eitan,

If your XML is simple enough, XML::Simple does input and output.

You might also look at XML::Twig.  I'm pretty sure it has output methods, as
well, and it has all the features, I think.

- Ephraim




More information about the Jerusalem mailing list