|
|
 |
perl-xml
Deleting a Node
by Ali Mesdaq other posts by this author
Nov 13 2006 9:17AM messages near this date
view in the new Beta List Site
RE: [BULK] - Perl Editor
|
Re: Deleting a Node
& XSLT I am using xml to keep a list of items I need to loop through. But I
would like to delete the items as I am looping through. So in case if
the system crashes and I boot back up I know where to continue from. So
now a few questions I have regarding that.
One is what do I use to delete the node? I was looking through the
documentation for libxml on cpan and I see "replaceNode" in the
XML::LibXML::Node library but it seems like it keeps a copy around which
seems to be a little inefficient. I am pretty sure there is probably a
better function for this but I couldn't find it and I would imagine it
would be in the XML::LibXML::Node library.
Second question is about the reliability of either the replaceNode call
or whatever the better function call is. How reliable is that call? If I
call that is there a chance the document could be in a non-valid state?
Or will that call ensure that it only deletes that node and not delete
it partially?
Thanks in advance.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Ali Mesdaq
Liam Quin
Bruce Miller
Chilkat Software
Ali Mesdaq
Robin Berjon
Ali Mesdaq
Bruce Miller
Ali Mesdaq
Bruce Miller
Ali Mesdaq
John Saylor
|
|
|
 |
|