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
|