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 ?




Brian O'Neill wrote:

> Hi All,
> 
> I'm new to the list and XML / XSLT.
> My problem is that I need to create a Web Page using XML and access it with
> a WAP phone and through the Internet.
> Using XSLT, can the WAP Phone access the page and receive the page in WML (
> converted by XSLT ) ?
> And, Is it possible for XSLT to convert XML to CHTML for say an I-Mode phone
> ?

the WROX  book 'Professional WAP'  has a clear review of this in chapter 
9 on xsl transforms with regards to this, u may download the code from 
http://www.wrox.co.uk to see examples of this. It is important to 
remember that the namespace is 'old' ( http://www.netcrucible.com ) and 
must be updated with respect to current xsl parsers ( MSXML3 for example ).

the wap fone will not have capabilities of performing this transform, so 
your webserver that is serving up the wml must transform for you 
(http://www.axkit.org, or mod_xslt for apache are examples of augmenting 
a webserver to perform this on the server).

the steps
a) xml and xsl sheet to generate wml
b) xsl parser on server to generate wml, either in real time or pre 
processed with any of the xsl parsers that are out there
c) wap phone browser uses wml

there is a good overview for CHTML at

http://www.xml.com/lpt/a/2000/09/20/wireless/imode.html

one pitfall is to watch out for the $ sign as it is used for de 
referencing a variable in WML, check out wml section of 
http://www.dpawson.co.uk xslt faq

, jim fuller




 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]