Re: [xml] predefined entity question.
- From: George Neill <georgen neillnet com>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] predefined entity question.
- Date: Thu, 29 Jan 2009 17:42:21 -0600
Daniel,
On Thu, Jan 29, 2009 at 7:35 AM, Daniel Veillard <veillard redhat com> wrote:
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.
I did, dang, sorry for the noise. Thanks for the advice.
Later,
George
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]