> [...] Anyway, I'm reading an xml document which
> has content such as:
>
> <store>A & B Market</store>
>
> When I try to parse it, xerces throws an exception
> because, of course, it tries to interpret the '&' as
> the beginning of an entity reference.

You can write something like 

<store><![CDATA[A & B Market]]></store>

to keep Xerces from interpreting the '&'. But that's about it. 
Better use '&amp;'.

Regards.

--
Bjoern Martin                                [EMAIL PROTECTED]



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

Reply via email to