RE: [xsl] Platform detection

Subject: RE: [xsl] Platform detection
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 11 Nov 2002 23:11:55 -0000
You can pass this kind of information to the stylesheet as a parameter
from the calling code.

But since you can't set the encoding attribute dynamically from within
the stylesheet, there's not much point.

If you're using JAXP, you can set the encoding from the API using
setOutputProperties(), which is a much better way of doing it.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Russell Kohn
> Sent: 11 November 2002 21:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Platform detection
>   I'd like to dynamically assign the encoding attribute of the output 
> method based on platform.  Is there any way for an XSLT stylesheet to 
> detect the platform on which the processor is running?
> TIA,
> - Russ
> Russell Kohn , Chaparral Software & Consulting Services Inc. 
> Calabasas, California - - 818.225.1247
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread