Arnaud Le Hors wrote:
> That's because while our DOM implementation can do it, our parser
> cannot. Andy Clark added some support for this in the Xerces2 parser.
> I'm not sure what the status is though.

If you code to XNI (not SAX) you can access the non-normalized
value of attribute (and internal entity values) which include
the original text from the document. For example, in the
following XML content:

  <elem attr='Mickey &amp; Minnie'/>

you can access the attribute value as "Mickey & Minnie" as well
as the non-normalized value as "Mickey &amp; Minnie".

Check the XNI Manual in the documentation of the latest Xerces2
release for information.

-- 
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to