ShoX reference documentation. Index


XSL element if

Default keyword for if is if.

ShoX syntax:

if [other attributes] (@test) {template}

Example

        if (count(rabbit)>10) {
            call rabbitcatcher{}
        }
	

See also choose.

XSL documentation of element xsl:if.