This regards the code I posted a couple of days ago. It works fine if the previous sibling of curBrlNode is a text node. However, if the previous sibling is the root of a subtree, such as MathML expression, xmlDocDump produces a document pared down to the root element and its <head child, as described in thet post. I'm trying to find a workaround.
Thanks, John -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml