[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Output from XSLT showing if SAXON Licence Features
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_^
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|