edit an existing XML

Lis Maria <[email protected]> Tue, 10 Sep 2013 11:51:30 +0530
Newsgroups gmane.comp.lang.perl.xml
Message-ID <CAC=vZ7ENhroLvc3k70O3L88VMrf059L9B5cSQyX2K=2mgqJdEg@mail.gmail.com>
--===============0735694168==
Content-Type: multipart/alternative; boundary=001a11348adaf76b7104e60183d9

--001a11348adaf76b7104e60183d9
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am new to perl, and the task i have is to read a config file to get the
values of certain keys and insert this value into an existing xml.

Example :

Config.properties
----------------------------
key1=value1


config.xml
-----------------------------
<key1></key1>


The perl script should be able to insert the value 'value1' into the <key1>
tag. Can someone suggest the perl module which i can use for achieving the
same.

Thanks,
Lis

--001a11348adaf76b7104e60183d9
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">Hi,<div><br></div><div>I am new to perl, and the task i have is to read a config file to get the values of certain keys and insert this value into an existing xml.</div><div><br></div><div>Example :</div><div>
<br></div><div>Config.properties</div><div>----------------------------</div><div>key1=value1</div><div><br></div><div><br></div><div>config.xml</div><div>-----------------------------</div><div>&lt;key1&gt;&lt;/key1&gt;</div>
<div><br></div><div><br></div><div>The perl script should be able to insert the value &#39;value1&#39; into the &lt;key1&gt; tag. Can someone suggest the perl module which i can use for achieving the same.</div><div><br></div>
<div>Thanks,</div><div>Lis</div></div>

--001a11348adaf76b7104e60183d9--

--===============0735694168==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

--===============0735694168==--