XML and JAVA

Bernhard Gruber <[email protected]> Thu, 18 Jul 2002 19:35:30 +0200
Newsgroups gmane.comp.windows.devel.java.general
Message-ID <[email protected]>
hallo all

I have following problem :

I convert a String into an XML Document this way


       DOMParser parser =3D new DOMParser();
       parser.parse(new InputSource(new StringReader(xml)));
       result =3D parser.getDocument();

the Problem is, that the String contains HTTPEntities like "&#252;"  (=3D=3D=
=20
"=FC" for example) ->
the resulting XML contains then a "=FC" instead of "&#252;"

anybody an idea ??

tnx

bernie

You can read messages from the JAVA archive, unsubscribe from JAVA,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.