Re: [xml] '&' char in text nodes
- From: Daniel Veillard <veillard redhat com>
- To: Alexander Grimalovsky <flying dom natm ru>
- Cc: xml gnome org
- Subject: Re: [xml] '&' char in text nodes
- Date: Fri, 13 Dec 2002 17:17:30 -0500
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]