On Thu, 14 Jun 2001, Aaron Wadley wrote: > Please forgive me if this question has been asked before, but I can't seem > to find the archives. > > I've got an ampersand (&) in the content of an element. Eg. > <field>&</field> The parser interprets this as an entity reference, when > it's really part of the data. Is there a way to turn off the parser trying > to expand this?
I don't think the XML spec would allow this. The correct fix is to replace & with & (the entity reference representing &) in the XML. Ian -- Ian Roberts, Software Engineer DecisionSoft Ltd. Telephone: +44-1865-203192 http://www.decisionsoft.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
