[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Let the XSLT script detect the name and release of

Subject: Re: Let the XSLT script detect the name and release of the used XSLT processor?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 10 Dec 2009 08:40:54 +0000
Re:  Let the XSLT script detect the name and release of
2009/12/10 Ben Stover <bxstover@xxxxxxxxxxx>:
> When I apply an XSLT script on an input.xml I want to output at first a node
(into
> the result,xml) which shows the used XSLT processor and his release.
>
> So the putput should be something like
>
> <?xml .....>
>   <usedxsltproc>Saxon v9.1.0.7</usedxsltproc>
>   <otherstuff>
>     .....
>   </otherstuff>
>
>
> Is this somehow possible?

yep - have a look at: http://www.w3.org/TR/xslt20/#system-property

and then do something like:

<xsl:value-of select="system-property('xsl:vendor')"/>

...and/or with a mix of product name and version.


cheers
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.