Our First <xsl:template>

Our first template matches "/", the XPath expression for the document’s root element:

<xsl:template match="/">
  <xsl:apply-templates select="greeting"/>
</xsl:template>

Get XSLT, 2nd Edition 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.