This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]