diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invhtml2.xsl')
-rw-r--r-- | Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invhtml2.xsl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invhtml2.xsl b/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invhtml2.xsl new file mode 100644 index 00000000000..f2be578fc5d --- /dev/null +++ b/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invhtml2.xsl @@ -0,0 +1,42 @@ +<?xml version='1.0'?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:output method="html"/> +<xsl:preserve-space elements="*"/> + +<xsl:template match="invitation"> +<html> +<head> +<title> Invitation (XSL/CSS formatting) </title> +<link href="invit.css" rel="stylesheet" type="text/css"/> +<!-- 12 November 1998 mg --> +</head> +<body> +<h1>INVITATION</h1> +<table> +<tbody> +<tr><td class="front">To: </td> +<td><xsl:value-of select="@to"/></td></tr> +<tr><td class="front">When: </td> +<td><xsl:value-of select="@date"/></td></tr> +<tr><td class="front">Venue: </td> +<td><xsl:value-of select="@where"/></td></tr> +<tr><td class="front">Occasion: </td> +<td><xsl:value-of select="@why"/></td></tr> +</tbody> +</table> +<xsl:apply-templates/> +<p class="signature"><xsl:value-of select="@signature"/></p> +</body> +</html> +</xsl:template> + +<xsl:template match="par"> +<p><xsl:apply-templates/></p> +</xsl:template> + +<xsl:template match="emph"> +<em><xsl:apply-templates/></em> +</xsl:template> + +</xsl:stylesheet> |