[xml] xmlRemoveNode and removing elements

Date view Thread view Subject view Author view

From: Gary Pennington (Gary.Pennington@uk.sun.com)
Date: Mon Jan 08 2001 - 14:54:40 EST


Hi,

I just started working with libxml in the last couple of weeks; so far
I'm very pleased with it's stability and performance.

I have a question though.

I need to be able to remove elements from documents prior to serializing
them and I'm concerned to note that xmlRemoveNode has not been
implemented. The only references to removing nodes in the mailing list
go back to last September and March and there were no replies to either
query. The tree.h header file has a TODO comment next to the function
prototype, so I guess people know it hasn't been implemented.

Before I start work on implementing this myself, I just thought it would
be worth finding out :-

a. Has anyone already done this work?
b. Has anyone has any idea how complex it is likely to be?
c. Is there any other way to remove elements from a tree (I've scoured
the documentation and can't find one - but I may have missed something)?

Thanks for any assistance,

Gary Pennington

Staff Engineer
Solaris Kernel Resources
Sun Microsystems Ltd

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 18:44:08 EST