|
[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
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/
|
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








