Re: Can't get 'content' element to fold correctly in XML::Simple

"Jenda Krynicky" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
From: "Mark Knoop" <[email protected]>
> 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
===== [email protected] === 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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.