Re: Deleting a Node
by John Saylor other posts by this author
Nov 13 2006 9:26AM messages near this date
view in the new Beta List Site
RE: [BULK] - Re: Deleting a Node
|
DOM parsing the XML configuration File
& XSLT hi
On 11/13/06, Mesdaq, Ali <amesdaq@[...].com> wrote:
> So in case if
> the system crashes and I boot back up I know where to continue from.
this is a good idea, but maybe you can do this with a different data
set than your original data. there may be some circumstance where you
want your original data intact, regardless of how processing completed
or not.
you can keep track with a counter for each node processed [requires an
additional step to count nodes in recovery]. or maybe you can just
copy the nodes you have processed to another file.
> One is what do I use to delete the node?
if you're using the DOM, removeChild()
> Second question is about the reliability of either the replaceNode call
> or whatever the better function call is. How reliable is that call?
as reliable as anything. how much effort is it worth to trap for this
error case? i'd say not much, but YMMV.
--
\js [ http://or8.net/~johns/ ]
_______________________________________________
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
|