"Craig" == craig webber <craigwebber(_at_)hotmail(_dot_)com> writes:
Craig> In my case I'm using an XDA II. it uses Windows Mobile
Craig> Browser v3. it does not support a client side
Craig> transform. Therefore by doing a server-side transform and
Craig> sending a plain HTML file down the wire the device is able
Craig> see the results and so would any other device that supports
Craig> simple HTML.
Craig> Are you suggesting that I could have 2 stylesheets defined
Craig> on 1 xml document? One for Desktop and one for Mobile
Yes.
Craig> device? And that the relevant browser would sniff out the
Craig> correct stylesheet (media attribute) to use?
It won't, because it doesn't support client-side transformations
(according to your paragraph that I cite at the top of this message).
So I am suggesting, if your XSLT processor supports this (I can't give
you a comprehensive list of which transformers support this - I know
gestalt does :-), and Saxon 8 does from it's Java API, but not from
the command-line, if I remember correctly), that you do
a server-side transformation, passing the target media value to the
transformer via it's API.
--
Colin Paul Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--