Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help wanted in getting value from xml tag using java

843834Nov 13 2006 — edited Nov 14 2006
Hi,

I am using JDOM to get the values from the XML.

My xml has a tag with value as:

<map>PIM &#169;</map>

I use,

IConfigElement mapElement = lookupElement("map");
String map = mapElement.getValue();


The value is get is ' PIM � ', i dont want this value.

My requirement is to get the original String not the ascii value.

Any idea how to get it.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2006
Added on Nov 13 2006
8 comments
140 views