Re: Can't get 'content' element to fold correctly in XML::Simple
by Jenda Krynicky other posts by this author
May 6 2009 3:58PM messages near this date
view in the new Beta List Site
Can't get 'content' element to fold correctly in XML::Simple
|
XML under ActiveState Perl for 64-bit Windows
& XSLT From: "Mark Knoop" <mark@[...].net>
> Take the following xml
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <data>
> <content>
> <id>1</id>
> <info>someinfo</info>
> </content>
> <content>
> <id>2</id>
> <info>somemoreinfo</info>
> </content>
> </data>
>
> If I XMLin it with no options it becomes (using Data::Dumper)
>
> ...
Have a look at XML::Rules. It gives you a much more detailed control
over the generated data structure.
Jenda
===== Jenda@[...].cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Mark Knoop
Jenda Krynicky
|