Subject: Special characters and XML-to-WML problem From: keshlam@xxxxxxxxxx Date: Fri, 11 Aug 2000 09:49:19 -0400 |
>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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: mulitple parameters [was: Spe, Stéphane Mamdy | Thread | Special characters and XML-to-WML p, Michael J. Hudson |
Re: Embedding HTML document in XSL, Larry_Mason | Date | Code between comments does not pars, Paul_Dick |
Month |