[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
modifying xml file
- To: <xml-dev@l...>
- Subject: modifying xml file
- From: "Cameron" <ccrum@d...>
- Date: Wed, 14 Jun 2006 14:05:17 -0500
I am trying to do what seems to be a simple task,
but am having much difficulty. I'm trying to use perl (have now tried bothe
XML::Xpath and XML::LibXML) to modify the text of a node in an XML file. I seem
to have no problems reading the text and outputting it, but how does one go
about changing the value of it? It is not an attribute, just the text like
<Ping_Last>15</Ping_last>. I want to alter the 15 to something else.
Does anyone have a simple example thay could share?
Cameron
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
 |
Atom 0.3 |
 |
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|