[Home] [By Thread] [By Date] [Recent Entries]
Jorge . chocolate.camera@xxxxxxxxx wrote:
Having a sequence stored in a variable, how do I reference the item in that sequence whose position is the same as the position of the current node with respect to its context, with XSLT 2? I don't think so, I think you need the variable. I am using Saxon-HE 9.2.1.2J on OS X 10.10.3 (14D136). Using the latest Saxon 9.6 and XSLT 3.0 you could delegate the variable binding to XPath with e.g. <xsl:sequence select="let $pos := position() return $FOO[$pos]"/>
|

Cart



