> We do have "xsl:for-each" and "xsl:if" elements. Why > cannot we have "xsl:continue" or "xsl:break" element? > It's so inconvenient without such element cooperating > with "xsl:for-each" and "xsl:if" elements. The instructions you propose would only make sense if <xsl:for-each> were executed sequentially, that is, if the n'th node is always processed before the (n+1)th. But the semantics of XSLT are non-sequential; the nodes selected by xsl:for-each can be processed in any order, or in parallel. Therefore xsl:break would not make sense. You can always achieve the same effect by replacing the xsl:for-each with a recursive template call. Michael Kay Software AGReceived on Wednesday, 7 August 2002 06:22:43 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:57 GMT