summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-26 23:07:28 +0000
committerKarl Berry <karl@freefriends.org>2012-08-26 23:07:28 +0000
commitd3535e838cefea309221187bb9e62698c0df8c51 (patch)
treedbee8197e1bfecefe547d53e843f0acff729a3fe /Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl
parent33353453d22fc5877a8ced58c673c7008ce8c00a (diff)
latex-web-companion non-update
git-svn-id: svn://tug.org/texlive/trunk@27531 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl')
-rw-r--r--Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl43
1 files changed, 43 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl
new file mode 100644
index 00000000000..dba1cf779f5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invhtml2.xsl
@@ -0,0 +1,43 @@
+<?xml version='1.0'?>
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
+ xmlns="http://www.w3.org/TR/REC-html40"
+ result-ns="">
+
+<xsl:template match="/">
+<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="invitation/par">
+<p><xsl:apply-templates/></p>
+</xsl:template>
+
+<xsl:template match="invitation/par/emph">
+<em><xsl:apply-templates/></em>
+</xsl:template>
+
+</xsl:stylesheet>
+