File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "encoding " Watch "encoding " New topic


Lion Z. Li

Joined: Oct 31, 2003
Posts: 19
I am developing WAP apps on wireless devices, using XSLT to translate XMLs into WMLs. What is not lucky is that different devices accept only its favourite encoding scheme. What I am doing now is to do a encoding/decoding operation on the wmls that i have AFTER from tanslating with XSLT. You know this is not the best solution, I am wondering if it is possible to give an encoding scheme to XSLT in order to have a right encoded translation.

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Could you describe the way you're executing the XSL transformation?
Are you using javax.xml.transform.* or a command-line tool, for example?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: encoding
It's not a secret anymore!