xsl-list
[Top] [All Lists]

Re: [xsl] use-when

2010-12-20 11:17:16

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?

-Dorg.me.gerasika.prop=22 net.sf.saxon.Transform ....

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

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>