Special characters and XML-to-WML problem
>I don't want to use <xml:output method="text">, cause this is just >wrong and ugly. If WML isn't syntactically compatable with either XML or HTML, XSLT considers it text. If text isn't an acceptable solution, consider generating an XML equivalent of your WML, then post-processing through non-XSLT code to convert it into WML syntax. You can probably come up with an XML version which makes this postprocessing fairly trivial. Folks have done exactly this when they've wanted to use XSLT to generate LaTeX or other languages that don't have native support in XSLT. You don't even have to give up much performance, if you use an XSLT processor which can output to a SAX stream or DOM; write a serializer which takes these and converts them direct to WML syntax. Unfortunately XSLT doesn't have an official API, so there's no standard way to plug in a custom serializer; check the docs for your implementation to see if/how you can do this. ______________________________________ Joe Kesselman / IBM Research XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format