This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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]
jQuery in Action, 2nd edition
subject: encoding
Similar Threads
Maven warning implication
using XML to create wml and html
I/O - Sun objective
Get encoding type of URL
require suggestion - FastSMS encoding problem