Re: [xml] Disabling default entities



On Sun, Dec 20, 2009 at 07:07:49AM +0100, Sunil Ghai wrote:
Hi All,

I'm trying to add an XML block in an existing document as a new child (the
content in the xmlNewChild), but while doing it the "<" and ">" characters
are being replaced by the predefined entities. Is there a way to disable
those entities?

  no

Or, any other way to accomplish the task?

  Try CDATA sections,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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