This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: javascript calling processor information
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 23 Aug 2002 10:25:22 +0100
- Subject: RE: [xsl] javascript calling processor information
- Reply-to: xsl-list at lists dot mulberrytech dot com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Roman
> Huditsch
> Sent: 23 August 2002 10:09
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 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