ShoX reference documentation. Index


XSL element attribute

Default keyword for attribute is att.

ShoX syntax:

att [other attributes] @name = {template}

Note that the syntax for xsl:attribute is slightly different from the syntax for xsl:variable, xsl:param, and xsl:with-param. The reason for this is that xsl:attribute does not have a select attribute.

Example

        att message={Hello world}
        att count1={3}
        att count2={val(count(rabbit))}
	

XSL documentation of element xsl:attribute.