xsl-list
[Top] [All Lists]

[xsl] XslTrasnformation - Index was outside the bounds of the array

2007-01-07 21:36:42
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..

--~------------------------------------------------------------------
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>