470,848 Members | 1,054 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

Xml entities in Java SAX2


We are doing a Xml merge for multiple xml files using SAX.
while parsing my xml all the entities are converted to their
appropriate characters. I do have a EntityResolver mapped to my DTD.

At the end of the output I'm not getting the entities as is. I want the
entities to be in the form of &#x...;

<?xml version='1.0'?>
<ps:source xmlns:ps="http://Local">
sample entity &#x2019;

in my DTD

<!ENTITY rsquo "&#x2019;">

Thanks in Advance.

Balaji Ramachandran

Jul 17 '05 #1
0 1367

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mike P | last post: by
6 posts views Thread by clintonG | last post: by
1 post views Thread by aphillips | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.