|
Subject: Re: what processor is using this stylesheet From: "Steve Muench" <smuench@xxxxxxxxxxxxx> Date: Thu, 16 Mar 2000 16:25:57 -0800 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| what processor is using this styles, Carole E. Mah | Thread | Re: what processor is using this st, Carole E. Mah |
| what processor is using this styles, Carole E. Mah | Date | Re: how do you get non-xhtml data t, Steve Muench |
| Month |