[Home] [By Thread] [By Date] [Recent Entries]

Subject: XslTrasnformation - Index was outside the bounds of the array
From: "Karl Stubsjoen" <kstubs@xxxxxxxxx>
Date: Sun, 7 Jan 2007 21:31:24 -0700
I am getting an Index was outside the bounds of the array error when I
apply the following template select:

<xsl:apply-templates select="*[name() = $Fields_MappedForUpdate/Field]"/>

I do not get this error if I remove the /Field from above.  This feels
like a big nasty bug to me.

$Fields_MappedForUpdate is the result of a node-set creation like this:
<xsl:variable name="Fields_MappedForUpdate" select="fx:node-set($xx_fields)"/>

I am using the XslCompiledTransform in .NET 2.0

Karl..

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member