I'm using Xalan 1.9

When compiling an xsl containing the following:

<xsl:template match="Items/value//@name">
  <!--some stuff here -->
</xsl:template>

I get the following error:

"A node test was expected.pattern = 'Items/value//@name' Remaining tokens
are: ('@' 'name')

This works with the .NET xpath processor however. Isn't this valid xpath?

FYI we found the following workaround match="Items/value//*/@name" which
while not a general substitude, works for our particular case.

Robert Conde


Reply via email to