Re: [xsl] Getting ant to tell me which xslt processor is used

Subject: Re: [xsl] Getting ant to tell me which xslt processor is used
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 24 Sep 2008 16:45:27 +0200
Jonathan Robie wrote:
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 know about ant but you can run a sample stylesheet that outputs the properties listed at http://www.w3.org/TR/xslt20/#system-property to find out things like vendor and product name of the XSLT processor.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread