Re: [xml] '&' char in text nodes



On Fri, Dec 13, 2002 at 09:56:16PM +0300, Alexander Grimalovsky wrote:
 Internally PHP calls xmlNodeSetContentLen() for it and this function
calls xmlStringLenGetNodeList() to perform parsing of given text.
Everything works fine until i try to set following content:

test & test

  xmlStringLenGetNodeList is designed to allow entities references from
the string. You must escape & to & before calling it.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
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]