This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: encoding
It's not a secret anymore!