in reply to Re: Accessing mixed content in XML
in thread Accessing mixed content in XML

Igor,

Thanks very much for your well explained solution, example code and the links. I'll do some reading about XML.

If I'd known about CDATA and XML::Simple supporting it, I'd have probably stuck with XML::Simple. For now, using > and < is working nicely with XML::DOM.

Thanks again.

Replies are listed 'Best First'.
Re^3: Accessing mixed content in XML
by mirod (Canon) on Aug 10, 2005 at 08:56 UTC

    Instead of XML::DOM you might want to have a look at XML::LibXML, which gives you a lot more than XML::DOM: XPath (very, VERY useful), RelaxNG, Xinclude, HTML parser, better performances... As it implements the DOM porting code from XML::DOM to XML::LibXML is also very easy (usually all you have to do is changing the names of a few constants).