ShoX reference documentation. Index


XSL element apply-templates

Default keyword for apply-templates is apply.

ShoX syntax:

apply [other attributes] (@select) {template}

Example

        apply()    // equivalent of <xsl:apply-templates/>
        apply(.)   // equivalent of <xsl:apply-templates select='.'/>
        apply(./author[name='Dr Doolitle'])
        apply[mode='zap'](.)
        apply(name) {
            <xsl:sort select='name/family'/>
            wpar count1='3'{}
        }
	

See also with-param sort.

XSL documentation of element xsl:apply-templates.