Chandu
Chandu

Reputation: 2049

How to print XSLT version supported by Xalan in Xalan c++?

I am using Xalan C++ library and I want to print the XSL version supported by it. How to print XSLT version supported by Xalan in Xalan c++?

Is there is any api/function in xalan which can return the version of XSL supported by Xalan?

Upvotes: 0

Views: 286

Answers (1)

Martin Honnen
Martin Honnen

Reputation: 167401

See http://www.w3.org/TR/xslt#function-system-property, you should be able to use e.g.

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

with any XSLT processor.

Upvotes: 0

Related Questions