Re: [xml] predefined entity question.
- From: Daniel Veillard <veillard redhat com>
- To: George Neill <georgen neillnet com>
- Cc: xml gnome org
- Subject: Re: [xml] predefined entity question.
- Date: Thu, 29 Jan 2009 14:35:23 +0100
On Wed, Jan 28, 2009 at 03:41:01PM -0600, George Neill wrote:
Hi All,
I have an xml document which looks like this,
<root>
<element>&'</element>
</root>
I am using the xmlReader interface with the XML_PARSE_NOENT option
turned on. I am grabbing the value using xmlTextReaderReadInnerXml()
and I expect it to look like this,
&'
but it is
&'
Is there something unique about the predefined entity & as content
of an element once the document has been parsed?
http://xmlsoft.org/html/libxml-xmlreader.html#xmlTextReaderReadInnerXml
you asked for markup i.e. the serialized form, I thing you got what
you asked for, use a different function.
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]