### xpy input xsl:stylesheet (xmlns:xsl="http://www.w3c.org/1999/XSL/Transform", version="1.0"): xsl:output method="html", media-type="text/html", encoding="ASCII"/ xsl:template match="/": html: head: title: "Document" body: h1: "Heading" xsl:apply-templates/ hr/ "Footer" xsl:template match="para": div class="paragraph": xsl:apply-templates/ ### xml output (pased through 'tidy -xml') Document

Heading


Footer