Newbee question: how to manipulate xml file
by lemkemch other posts by this author
Mar 17 2006 2:52PM messages near this date
view in the new Beta List Site
BNF and DTD utils
|
Re: Newbee question: how to manipulate xml file
& XSLT I just started to look into manipulating xml files with perl and can't cut
through all of these modules. Google wasn't much help unlike for other
perl problems. I don't know much about xml either. What I basically want
to do is
$xml = readxmlfromfile "file";
add/manipulate some elements
writexmltofile "newfile";
To get started, how to read a xml file and write it back such that the new
file is semantically identical to the original?
To me XML::Simple gives me the structure in a format I think a xml file
should be represented but then how to write it back without change? The
result of XMLout looked quite different from the original, it started with
completely different characters (I don't mind the formatting).
Thanks,
Michael-
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
lemkemch
Grant McLean
lemkemch
A. Pagaltzis
|