This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Is XML to CHTML Transformation possible ?


Hip hei!

> Using XSLT, can the WAP Phone access the page and receive the
> page in WML (
> converted by XSLT ) ?

Yes, just use

  <xsl:output method="xml"
              doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml"
              doctype-public="-//WAPFORUM//DTD WML 1.1//EN" />

and escape $ when you don't want to use it as a WML variable delimiter.

> And, Is it possible for XSLT to convert XML to CHTML for say an
> I-Mode phone
> ?

Yes, use

  <xsl:output method="html"
              encoding="Shift_JIS"
              doctype-public="-//W3C//DTD Compact HTML 1.0 Draft//EN" />

I'm not sure if the I-mode icons in the [#xF89F-#xF9AF] range can be output
as characters or do need to be character entity references, but other than
that, there shouldn't be problems.

Cheers,

Jarno


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]