Re: [xml] Managing libxml2's on the fly created nodes



On Mon, May 14, 2007 at 03:29:47PM +0200, Holger Franzen wrote:
Hi everybody,

i'm working in a c++ environment with on top of the xmlNode builded
objects using the nodes _private pointer. When processing xhtml i've
noticed that libxml2 is adding nodes on the fly to the document.

like this one:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

I searched the api and the archives but did not find an answer on howto
track these added nodes. Is there a callback or something?

  no callback, it's basically libxml2 serializer doing this on XHTML-1.0
documents, it just tries to follow the best practices suggested by the
XHTML-1.0 spec.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]