Hi,
As Ken says there are system functions for reflecting the processor and version.
In addition, there are the XSLT functions function-available and
element-available, which you can use to check dynamically whether a
feature is exposed with a function or (extension) element.
That's not quite the same as asking about a license but it might be even better.
Cheers, Wendell
On Mon, Feb 20, 2017 at 9:33 AM, G. Ken Holman
g(_dot_)ken(_dot_)holman(_at_)gmail(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
Have you tried using system-property('xsl:product-version')?
I hope this helps.
. . . . . . Ken
At 2017-02-20 14:12 +0000, Neil Hunter huntern(_at_)rsc(_dot_)org wrote:
Hi,
Is there a way, within an XSL style sheet, to test whether a Saxon (9.6
EE) transformation is running with licence features enabled or not?
Ideally, applying the transformation would just return:
<result>true</result> or <result>false</result> accordingly. This might then
form the basis for running an automated test on code deployment.
Thanks,
Neil
--
UBL introduction lecture - Exchange Summit - Orlando, FL - 2017-04-24 |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training @US$45: http://goo.gl/Dd9qBK |
Crane Softwrights Ltd. _ _ _ _ _ _ http://www.CraneSoftwrights.com/s/ |
G Ken Holman _ _ _ _ _ _ _ _ _ _
mailto:gkholman(_at_)CraneSoftwrights(_dot_)com |
Google+ blog _ _ _ _ _ http://plus.google.com/+GKenHolman-Crane/posts |
Legal business disclaimers: _ _ http://www.CraneSoftwrights.com/legal |
--
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--