dcsimg
XML Parsing using Perl
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Prabu_c
Posted On:   Friday, June 22, 2001 07:06 PM

I would like to parse an Xml File and display the content of tags ,i am able to parse and display the non-empty tags,but i am not able to catch the empty tags....like we use start,endtag ,text.the sub Text catch hold of tags that are non-empty how to catch the empty tags like i want to display that Employee tag is Empty i am Using Perl to parse.Can any one help me to resolve this.....

Prabu

Re: XML Parsing using Perl

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, June 22, 2001 11:37 PM

Hi,


Check out CPAN (Comprehensive Perl Archive Network). In the module list there are a number of modules for parsing. One of the most used is XML::Parser (by Clark Cooper) but I've read good comments about XML::Parser::EasyTree (by Eric Bohlman).


Anyway, every time you need Perl Modules you can go to the main Perl.com web site, or directly to the perl module list on CPAN.

About | Sitemap | Contact