[ expat-Bugs-574542 ] how to set the parser env -- (HELP)

noreply@sourceforge.net noreply@sourceforge.net
Thu Jun 27 05:13:02 2002


Bugs item #574542, was opened at 2002-06-27 05:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=574542&group_id=10127

Category: XML::Parser (Perl module)
Group: Test Required
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: how to set the parser env -- (HELP)

Initial Comment:

we are using sun OS 5.8.
 
     we want to convert a xml data into csv file format 
using perl.We
don't know how to start.we want to know what are the 
steps to be
followed to install the parser.which parser is 
recommended and where can
i get it.
 
(  Actually we did something like this we have installed a 
expat parser
from CPAN and try to "USE XML:DOM" but it is giving 
error like
Can't locate XML/DOM.pm in @INC (@INC 
contains: /usr/perl5/5.00503/sun4-
solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-
solaris /usr/perl5/site_perl/5.005 .) at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.
.)
 
for example 
    consider the file address.xml
    <header1>
        <header2>
            <name>Sriman</name>
            <address1> No140 marshalls road</address1>
            <city>chennai<city>
        </header2>
        <header3>
            <name>Kannan</name>
            <address1> No 10 evc road</address1>
            <city>chennai 5<city>
        </header3>
    </header1>
 
This data from xml file should be written into 
Address.csv as
 
        Sriman | No140 marshalls road | chennai
         Kannan |  No 10 evc road | chennai 5
    
Please advice

govind


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=574542&group_id=10127