Inside Xslt

The <xsl:template> Element

XSL templates enable you to specify how you want your transformation to work. Each <sxl:template> element is set up to match one node (which may contain other nodes) or a number of nodes in the source document, and to specify exactly how that node should be transformed.

The following list describes the attributes of <xsl:template> :

Each such <xsl:template> element is called a rule . In general, the <xsl:template> element can contain zero or more <xsl:param> elements (which youll see in Chapter 9), followed by the template body , which specifies how you want the transformation to take place.

Категории