Subject: Re: Extracting text between nodes
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 15 Feb 2008 11:17:15 +0000
|
On 14/02/2008, Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:
> Why 10 rather than 1, or 271000000.0057683456127458945386235?
Well....
<xsl:template match="/" priority="271000000.0057683456127458945386235">
a
</xsl:template>
<xsl:template match="/" priority="271000000.0057683456127458945386234">
b
</xsl:template>
fails with a java.lang.ArrayIndexOutOfBoundsException: -2 error with Saxon.
Interestingly
<xsl:template match="/" priority="271000.00576834564">
a
</xsl:template>
<xsl:template match="/" priority="271000.00576834560">
b
</xsl:template>
works but only if the last digit is 4 and not 1 in the first template
I'm sure there's something else I should be getting on with......
:0)
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|