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 Veillard      | Red Hat Network
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]