$parentnode = $node -> parentNode; $txtnode = XML::LibXML::Text ->new($tmtext); $node = $parentnode -> replaceChild($txtnode, $node);
In reply to Re^2: Replacing an XPath node with the value of its content
by stylechief
in thread Replacing an XPath node with the value of its content
by stylechief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |