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
Beginning Help
by Elliot Tobin other posts by this author
Oct 9 2002 7:28PM messages near this date
view in the new Beta List Site
Re: Announce: XML::Filter::NSNormalise 0.01 | RE: RE: What's So Great about SAX? (ie. Future Indecisions)
I have an XML file that contains either:

<cont id=1 pt=0> 
 <title> first</title>
 <help> blah</help>
</cont> 

or

<act id=2 pt=0> 
 <title> second</title>
 <args> 
  <system> uno</system>
  <name> sysname</name>
  <user> 
    <type> int</type>
    <val> 5</val>
  </user> 
 </args> 
</act> 

--

Can someone give me the best example on how to parse a file containing 
these structures?  I want to build a Tk::Tree such that the <cont> 's 
are the branches and the <act> 's are the leafs in the tree.

Any help is GREATLY appreciated.

TIA,

EllioT


-=[ Elliot @ pixeltree.org ]=-

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

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