The XSL Elements
So far, you've used only a few of the XSL elements that are supported. See Table 15.1 for more of them.
Element | Function |
---|---|
xsl:apply-templates | Commands the XSL processor to find and execute the appropriate template(s). |
xsl:attribute | Createsan attribute node and applies it to the output node structure. |
xsl:cdata | Insertsa CDATA section into the output. |
xsl:choose | Used for conditional testing and processing. Generally used in combination with the xsl:otherwise and xsl:when elements. |
xsl:comment | Inserts acomment into the output node structure. |
xsl:copy | Makes a copy of a source node. |
xsl:define-template-set | Defines a set of templates. |
xsl:element | Inserts an element into the output with the specified name. |
xsl:entity-ref | Inserts ... |
Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.