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!

Transform XML Problem

843834Nov 14 2005 — edited Nov 14 2005
Hello,

my java application can generate one raw xml document, then i use javax.xml.transform.TransformerFactory and Transformer to transform with one stylesheet.
The problem is that the final xml document has some strange letters inside. for example,
in the raw xml:
entspannt-ironischer Thriller mit genial verwobener Story. USA 2003. 102 Min.
in the result xml:
entspannt-ironischer Thriller mit genial verwobener Story.
USA 2003. 102 Min.

another prolem is that there are �, �, � in both xml documents. if i open the xml file in xml spy, i can read �,�,� properly, but if i open them in other editors, it will not be shown properly.

i am not sure where the problem should be. just dont know how to do further. if any one has the same experience, please help me to solve .

Thanks a lot.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2005
Added on Nov 14 2005
2 comments
142 views