[xml] predefined entity question.



Hi All,

 I have an xml document which looks like this,

<root>
  <element>&amp;&apos;</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

&amp;'

Is there something unique about the predefined entity &amp; as content
of an element once the document has been parsed?

TIA,
George



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]