Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Update an XML node value based on one of the attribute values.

by Anonymous Monk
on Apr 18, 2014 at 17:14 UTC ( [id://1082790]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Update an XML node value based on one of the attribute values.
in thread Update an XML node value based on one of the attribute values.

Well neither XML::LibXML::Element nor its base class XML::LibXML::Node list any "setdata" method, so not sure why you keep trying to use it :)

$ perl -MXML::LibXML -le " $q = XML::LibXML::Element->new(q{q}); $q-> +removeChildNodes; $q->appendText(55); print $q;" <q>55</q>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1082790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found