Subject: Re: [xsl] Output from XSLT showing if SAXON Licence Features are enabled or not? From: "Wendell Piez wapiez@xxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 21 Feb 2017 20:06:36 -0000 |
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.ken.holman@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxx 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@xxxxxxxxxxxxxxxxxxxx | > 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_^
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Output from XSLT showing , G. Ken Holman g.ken. | Thread | [xsl] Output from XSLT showing if S, Neil Hunter huntern@ |
[xsl] [ann] [webinar] Unit testing , George Bina george@x | Date | [xsl] XPath Expressions: Separate p, Eliot Kimber ekimber |
Month |