in reply to Re: Picking an XML Module
in thread Picking an XML Module
Actually the XML shown above contains mixed content (the def element in the middle of the text of the section element, so YAML would not cut it here. YAML is designed for serialisation of Perl/Python/Ruby/whatever data structures, it is specifically NOT designed to be equivalent to XML.
BTW, the one-liner to turn (appropriate) XML into YAML is:
perl -MXML::Simple -MYAML -e'print Dump( XMLin( "myfile.xml"))'(from Stop Using XML Everywhere! Damn It!, that should convince you that I am not an XML fanatic ;--)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Picking an XML Module
by liz (Monsignor) on Aug 03, 2003 at 16:10 UTC | |
by mirod (Canon) on Aug 03, 2003 at 16:33 UTC |