Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Kindly suggest a good starting point for XML Parsing.

by tobyink (Abbot)
on Jan 04, 2012 at 00:44 UTC ( #946173=note: print w/ replies, xml ) Need Help??


in reply to Re: Kindly suggest a good starting point for XML Parsing.
in thread Kindly suggest a good starting point for XML Parsing.

Meh. How do you represent this structure in JSON?

my $a = []; my $b = { a => $a }; push @$a, $b; print to_json($a); # ???

Real life needs you to be able to deal with structures like that. XML and JSON are both poor serialisations for real life data. YAML is somewhat better in this regard but has its own shortcomings.


Comment on Re^2: Kindly suggest a good starting point for XML Parsing.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2015-05-24 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (476 votes), past polls