Tim: I think you aren't right in saying this is correct syntax; the rule
for production Step in the XPath spec shows that the abreviated steps (.
and ..) cannot have predicates. By the way, XT and Saxon both report an
error too.

Tom

Tim Crook wrote:
> 
> Using an expression like
> <xsl:when test=".[(@name='Occurrence')]">
> ...
> </xsl:when>
> 
> produces the error:
> Error [code:201] [URI:file://...] [line:...] [node:attribute 'test']
>   wrong expression syntax
> 
> When will Sablotron support the XPath ".[ ... ]" format?


Reply via email to