in reply to XML::XPath

If you look into the t\* directory that comes with XML::XPath, you'll find a test script called remove.t.

This shows a method, $root->removeChild($nodes[0]);.

That said, I looked through all the documentation I could find and scanned all the obvious looking source files and failed to find any documentation on the method, nor even where it is implemented?

Maybe it's so intuative to use that it doesn't require documenting.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

Replies are listed 'Best First'.
Re: Re: XML::XPath
by Matts (Deacon) on Aug 20, 2003 at 07:37 UTC
    XML::XPath has been in maintainence mode for a long time now. That means I'm not changing or fixing the API (much) and I'm not doing any personal work on it (if you want a more complete DOM + XPath module look to XML::LibXML). If anyone wants things fixed (like documentation) they're going to have to send patches, sorry.

      No apoligies necessary, my comments weren't intended as critisism, just a note of the situation as I found it and an attempt to take the sting away from the OP who had failed to find the removeChild() call, which is indeed, fairly self-expanatory once you know it's there.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
      If I understand your problem, I can solve it! Of course, the same can be said for you.