Re: [xsl] use-when

Subject: Re: [xsl] use-when
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 20 Dec 2010 17:17:06 +0000
At 2010-12-10 01:43 +0200, Andriy Gerasika wrote:
I cannot figure out how to use use-when attribute, beyond standard
"system-property('file-separator')" example.

That is the only context of using it, as those are the only properties defined when the use-when= attributes are evaluated.

Have you tried setting your own Java system properties? net.sf.saxon.Transform ....

<xsl:... use-when test="system-property('')='22'">

Michael Kay

Current Thread