ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved