Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Accessing mixed content in XML

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


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found