This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: what processor is using this stylesheet
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: what processor is using this stylesheet
- From: "Steve Muench" <smuench at us dot oracle dot com>
- Date: Thu, 16 Mar 2000 16:25:57 -0800
- References: <Pine.LNX.4.10.10003161911210.29227-100000@goon.stg.brown.edu>
- Reply-To: xsl-list at mulberrytech dot com
You can use:
test="element-available('saxon:foobar')"
or
test="element-available('xt:document')"
or
test="function-available('xt:node-set')"
or
test="system-property('xsl:vendor-url')='xyz'"
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
Business Components for Java Dev't Team, Oracle Corporation
----- Original Message -----
From: "Carole E. Mah" <carole@goon.stg.brown.edu>
To: <xsl-list@mulberrytech.com>
Sent: Thursday, March 16, 2000 4:14 PM
Subject: what processor is using this stylesheet
|
| Sorry, yet another question from me!
|
| Is there something one can put on a test= to determine what processor is
| running, e.g. in English,
| <xsl:choose>
| <xsl:when test="saxon is being used to process this stylesheet">
| <-- [do X] -->
| </xsl:when>
| <xsl:otherwise>
| <!-- otherwise it is xt or xalan or etc. -->
| <!-- do Y -->
| </xsl:otherwise>
| </xsl:choose>
|
| -carole
| - - - - - - - - - - - - - - - - - - - - - - - - -
| Carole E. Mah Carole_Mah@Brown.edu
| Senior Programmer/Analyst
| Brown University Scholarly Technology Group
| phn 401-863-2669
| fax 401-863-9313
| http://www.stg.brown.edu/
| personal: http://www.stg.brown.edu/~carolem/
|
|
| XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list