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.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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