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>