Subject: RE: javascript calling processor information
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Fri, 23 Aug 2002 10:25:22 +0100
|
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Roman
> Huditsch
> Sent: 23 August 2002 10:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: javascript calling processor information
>
>
> good morning everybody,
>
> I would like to create a stylesheet, which imports another
> stylesheet depending on the processor used.
>
> <xsl:stylesheet>
> //if processsor is msxsl
> <xsl:import select="stylesheet1.xsl"/>
> //if processor is XALAN
> <xsl:import select="stylesheet2.xsl"/>
> </xsl:stylesheet>
Wendell Piez just reminded us all of this little gem;
'
http://www.mulberrytech.com/xsl/xsl-list/processor-version.html
There's a stylesheet there (an ingenious little thing by Tony Graham) that
will tell you whatever your processor knows about itself.'
and Jeni gives us advice on conditional include/import
http://www.dpawson.co.uk/xsl/sect2/N4760.html#d145e57
hth,jim fuller
ps: i'm just pushing links.....
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|