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

Re: Getting ant to tell me which xslt processor is use

Subject: Re: Getting ant to tell me which xslt processor is used
From: Jonathan Robie <jonathan.robie@xxxxxxxxxx>
Date: Wed, 24 Sep 2008 10:46:58 -0400
Re:  Getting ant to tell me which xslt processor is use
Andrew Welch wrote:
2008/9/24 Jonathan Robie <jonathan.robie@xxxxxxxxxx>:
I've inherited a tangled web of stylesheets used by people on various
platforms, and their XSLT processors sometimes give different results for
the same stylesheets.

I'd like to know which XSLT processor each one is using.

$ ant -v -d gives lots of information, but beyond telling me TRAX is used,
it says nothing about which XSLT processor. Is there a way to get ant to
'fess up?

I don't think Ant can tell you because JAXP hides the processor... instead you need to get the xsl:vendor system property from within the transform:

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

And perhaps throw it into a comment in the generated XSL, I suppose. Thanks!


Jonathan

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-2011 All Rights Reserved.