On Mon, Feb 06, 2006 at 01:53:58PM -0800, Rush Manbert wrote: > Hi all, > > Another one I can't figure out from the docs or the archive. > > Does anyone know how to remove all of the attributes from an element > using the tree API?
xmlFreePropList(node->properties); node->properties = NULL; This doesn't remove namespace declarations as this is far more complex and intrusive. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
