[jdom-interest] SAXBuilder.setExpandEntities
Philip Nelson
panmanphil at yahoo.com
Thu May 16 06:35:44 PDT 2002
> When I have an XML document containing:
>
> <a>b&©</a>
>
> then I want Element.getContent() to return one org.jdom.Text element and 2
> org.jdom.EntityRef objects. Is there a SAX driver that allows me to do this?
You are confusing xml entities and character entities. Character entities are
always expanded by the parser and will never become entityrefs in the jdom model.
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
More information about the jdom-interest
mailing list