[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Context inside brackets
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]"/>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|