|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: what processor is using this stylesheet
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@xxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
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@xxxxxxxxx
| 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








