[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Special characters and XML-to-WML problem

Subject: Special characters and XML-to-WML problem
From: keshlam@xxxxxxxxxx
Date: Fri, 11 Aug 2000 09:49:19 -0400
latex special characters trademark
>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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.