0

I have the following segment inside my XSLT transform:

<property name="Value"><xsl:value-of select="for $index in ...

msxsl.exe produces the following error:

Code: 0x80004005
Expected token 'EOF' found '$'.

for -->$<--index in ...

Is this a syntax error? The code before the shown segment seems to be fine. What am I doing wrong?

Thanks!

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by iceandrews
0

No this isn't a syntax error per say. MSXML only supports XPath/XSLT 1.0.

Doing select="for XXXX in" or select="if then else" is a 2.0 XPath usage. You need a processor that supports 2.0, Saxon for example.

Edited by iceandrews: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.