Xsl: select check all xsl: when conditions

Is it possible to leave <choose>after the first match <when>, but continue checking the remaining conditions?

+3
source share
1 answer

I believe not. As stated in the specification:

The contents of the first and only first xsl: when test is true, an instance is created. If xsl: when true, then the content is an xsl: element; otherwise, an instance is created. If xsl: when the element is true and no xsl: otherwise the element is present, nothing is created.

from: http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:choose

. <xsl:if>, ,

UPDATE. O'Reilly XSLT (http://docstore.mik.ua/orelly/xml/xslt/ch04_02.htm):

C, ++ Java  . , , . , switch true, break, . . ,

+12

All Articles