OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   modifying xml file

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS