[ Question on the Saxon list regarding the context of the AVT in <xsl:for-each select="foo"> <xsl:sort lang="{...}" /> ] > > BTW, which node is the context node in this expression? Is it > > foo or foo's parent or maybe something completely different? > > This isn't clearly stated in the XSLT 1.0 spec. But the only logical > node to use as the context node (and the one that Saxon uses) is the > same one that is used for evaluating the select expression in the > <xsl:for-each>. Then please add something in the XSLT 2.0 spec. I couldn't find something at first go. To my mind it is a little bit odd that in <xsl:sort select="expr1" lang="{expr2}" /> expr1 and expr2 refer to different context nodes. Cheers, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@informatik.hu-berlin.de | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/Received on Friday, 19 July 2002 06:03:48 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:43 UTC