Subject: Re: [xsl] How to retrieve global parameters names and their default values using Saxon? From: Abel Braaksma Online <abel.online@xxxxxxxxx> Date: Wed, 24 May 2006 12:39:46 +0200 |
Cheers, Abel
This conversation would be better conducted on the Saxon list...
You could pick up all constant expressions, of whatever type, using the test
if X instanceof Value return ((Value)X).getStringValue()
Note that if the expression is written as select="2+2", you will probably get back the pre-evaluated result, "4".
You could pick up the special case of
<xsl:param>xyz</xsl:param>
using
if X instanceof TextFragmentValue return ((TextFragmentValue)X).getStringValue()
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to retrieve global pa, Michael Kay | Thread | RE: [xsl] How to retrieve global pa, Michael Kay |
[xsl] Writing array elements based , neil cave | Date | RE: [xsl] Writing array elements ba, Florent Georges |
Month |