RE: XHTML and XSLT?

The best idea is to have the base page in XHTML and convert it to an 
adapted version for the device using XSLT, as you seem to have grasped. The 
CC/PP working group in the W3C is working out how to describe devices so 
such optimized versions can be created.

WAP Forum has committed to use XHTML, but exactly how is not clear yet. 
However, transforming to WML from XHTML should not be so hard. The 
heuristics for how to create the cards out of the XHTML document is the 
hard part. Creating a webclipping application for Palm VII is next to 
useless if you have the content in XHTML to start with anyway, so I would 
recommend that you generate an optimized version for the Palm browser 
(note, though, that the Ericsson WML browser is available for the Palm as 
well).

The W3C XSLT documentation does cover a number of cases of transformations 
from a generic XML base, which could be XHTML. If I may plug my book, I 
have also covered this topic extensively there. It is out this week. For 
more information, see www.wireless-information.net.

Johan Hjelm

At 23:49 2000-06-15 +0200, Vitaveska Lanfranchi wrote:
>Thank you very much for your fast answer.
>I've to deal with WAP phones an Wireless Palm.
>My teacher has suggested me to do everiything in XHTMl
>but i still don't understand how could it help me.
>Probably it's because i've haven't studied it so much.
>Could you please suggest me a book about XSLT (or it's
>better follow W3C specifichs?)
>Thank you again
>     Vita
>
>
>--- Scott Priddy <spriddy@Globeset.com> ha scritto: >
> > You're last two ideas seem like the best path.
> >
> > i.e. have markup language independent source in XML,
> > through some XSL
> > transforms you can add in the markup tags for the
> > different devices...
> >
> > What devices/markup languages are you targeting? WAP
> > phones, iMode Phones,
> > Wireless Palm (VII), wml/hdml/html?
> >
> > Sounds fun!
> > -Scott Priddy
> >
> > -----Original Message-----
> > From: Vitaveska Lanfranchi
> > [mailto:vitaveska@yahoo.it]
> > Sent: Thursday, June 15, 2000 4:29 PM
> > To: www-mobile@w3.org
> > Subject: XHTML and XSLT?
> >
> >
> > Hi,
> > could i please ask you some questions?
> > For my degree i've to create a site in which every
> > page could be seen from different mobile devices.
> > My problems are:
> > - a WAP cell phone could see a XHTML page (with a
> > stylesheet @media handheld)?
> > - do i have to write an xml general template to be
> > trsformed with XSLT?
> > - could i write a XSLT that trasform my xml in wml
> > content?
> >
> > Sorry, but i still don't understand wwhat to do and
> > i'm getting mad hearing friends, teachers, all
> > saying
> > something different :-)
> > Someone could help me please?
> > Sorry if this isn't the right place to ask those
> > things.
> > Thank you in advance
> >               Vita
> >
> >
>______________________________________________________________________
> > Do You Yahoo!?
> > Il tuo indirizzo gratis e per sempre @yahoo.it su
>http://mail.yahoo.it
>
>
>______________________________________________________________________
>Do You Yahoo!?
>Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it

*******************************************************************
                          Johan HJELM
       Ericsson Research, User Applications Group
W3C Advisory Committee Representative for Ericsson
            Chair, W3C CC/PP Working Group
       hjelm@w3.org, johan.hjelm@era-t.ericsson.se
             http://www.wireless-information.net
     Fax +1-617-258 5999, Phone +1-617-253-9630
           GSM (works everywhere except in Japan):
                        +46-708-820315
    MIT/LCS, 545 Tech. Sq. Cambridge MA 02139 USA

         Opinions are personal, always my own,
   and not necessarily those of Ericsson or the W3C.
===========================================

Received on Friday, 16 June 2000 11:17:59 UTC