[jdom-interest] predefined entities
p_nevilleuk at yahoo.co.uk
Fri Dec 13 05:34:48 PST 2002
I have seen a few threads on this subject, but no
answers to my problem:
I am using SAXBuilder to construct my Document. The
XML file has entity references in some attributes. For
example, <a val1="X&Y"/>. When I use retrieve
this element and get the attribute value I get "X&Y"
as the value.
What I would like is "X&Y" ie. as it is in the XML
file. This is because I want to store this value in my
database without having to call any conversion
I have tried using crimson, xerces 2.1.1 etc and
setting setExpandEntities to false and also creating
my own EntityResolver. But cannot get the
functionality I require above.
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
More information about the jdom-interest