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: Fri, 17 Mar 2000 10:11:23 -0800
- References: <Pine.LNX.4.10.10003171112460.31013-100000@goon.stg.brown.edu>
- Reply-To: xsl-list at mulberrytech dot com
Using the following stylesheet:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xsl:version="1.0">
<xsl:template match="/">
xsl:version = <xsl:value-of select="system-property('xsl:version')"/>
xsl:vendor = <xsl:value-of select="system-property('xsl:vendor')"/>
xsl:vendor-url = <xsl:value-of select="system-property('xsl:vendor-url')"/>
</xsl:template>
</xsl:stylesheet>
I get:
Apache Xalan 0.20.0
-------------------
xsl:version = 1
xsl:vendor = Apache Software Foundation
xsl:vendor-url = http://xml.apache.org/xalan
Oracle XSLT Processor 2.0.2.7
-----------------------------
xsl:version = 1.0
xsl:vendor = Oracle Corporation.
xsl:vendor-url = http://www.oracle.com
XT
--
xsl:version = 1
xsl:vendor = James Clark
xsl:vendor-url = http://www.jclark.com/
Saxon 5.2
---------
xsl:version = 1
xsl:vendor = SAXON from Michael Kay of ICL
xsl:vendor-url = http://users.iclway.co.uk/mhkay/saxon/index.html
______________________________________________________________
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: Friday, March 17, 2000 8:26 AM
Subject: Re: what processor is using this stylesheet
| Thanks Steve and Steve ...
|
| On Thu, 16 Mar 2000, Steve Muench wrote:
| > test="element-available('xt:document')"
|
| The above sort of thing works well.
|
| > test="system-property('xsl:vendor-url')='xyz'"
| This also works well.
|
| However, test="system-property('xsl:vendor')='saxon'" does not seem to
| work -- Steve Tinney is right that we need a FAQ listing the exact
| string to use here for each vendor. I might have been lucky with the URL,
| too; since those can change, a FAQ needs to keep up-to-date on those as
| well.
|
| thanks again,
| -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