Front page | perl.beginners |
Postings from December 2002
modifying xml entry
Thread Next
From:
Admin-Stress
Date:
December 9, 2002 02:09
Subject:
modifying xml entry
Message ID:
20021209100859.10748.qmail@web40109.mail.yahoo.com
Hi,
I have a XML file like this :
<Config>
<FTPServer>
<Password>password</Password>
<Username>dccftp</Username>
<PortNumber>22</PortNumber>
</FTPServer>
<DCCBox>
<IPAddress>127.0.0.1</IPAddress>
<Serial>1234567890</Serial>
</DCCBox>
</Config>
Could you give me a working perl code to modify the entries? user will input from keyboard :
FTPServer
Username =
Password =
Port Number =
DCCBox
IPAddress =
Serial =
After this, it will modify that config.xml entry.
I tried to learn XML::Parser, but still I dont understand how to implement this.
Thanks.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Thread Next
-
modifying xml entry
by Admin-Stress