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
Logged In: YES
user_id=3066
This is an application question and not a bug in expat.
Please post questions like this, related to the Perl XML
modules, to the perl-xml list hosted by ActiveState.