Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Accessing mixed content in XML

by anthski (Scribe)
on Aug 10, 2005 at 08:04 UTC ( #482539=note: print w/replies, xml ) Need Help??

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


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).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://482539]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-02-27 16:39 GMT
Find Nodes?
    Voting Booth?

    No recent polls found