Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- XML::XPath delete function
November 26, 2007, 8:35 pm
rate this thread
Re: XML::XPath delete function
There is a removeChild method in XML::XPath::Node::Element.pm that
should do what you want.
I am not sure at this point that it is very wise to use XML::XPath
though. The module has not been maintained in a long time (close to 5
years) and there are a number of open bug reports (some with patches
that have not been applied in 2 years).
XML::LibXML is most likely a better choice, if you can install libxml2,
and is very, very similar to XML::XPath, except faster, much more
powerful and actively maintained.