2 <!-- $Id: texinfo.xsl,v 1.2 2002/04/01 14:06:15 karl Exp $ -->
3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 <xsl:output method="html" indent="yes"/>
9 <xsl:template match="/">
12 <xsl:apply-templates select="TEXINFO/SETTITLE" mode="head"/>
14 <body bgcolor="#FFFFFF"><xsl:apply-templates/>
19 <xsl:template match="TEXINFO">
20 <xsl:apply-templates/>
24 <xsl:template match="TEXINFO/SETFILENAME">
27 <xsl:template match="TEXINFO/SETTITLE" mode="head">
28 <xsl:apply-templates/>
31 <xsl:template match="TEXINFO/SETTITLE">
32 <h1><xsl:apply-templates/></h1>
36 <xsl:template match="TEXINFO/DIRCATEGORY">
39 <xsl:template match="//PARA">
40 <p><xsl:apply-templates/></p>
43 <xsl:template match="//EMPH">
44 <i><xsl:apply-templates/></i>
48 <xsl:template match="TEXINFO/NODE">
51 <xsl:apply-templates select="NODENAME" mode="select"/>
52 <xsl:apply-templates select="NODEPREV" mode="select"/>
53 <xsl:apply-templates select="NODEUP" mode="select"/>
54 <xsl:apply-templates select="NODENEXT" mode="select"/>
55 <xsl:apply-templates/>
58 <xsl:apply-templates select=".//FOOTNOTE" mode="footnote"/>
63 <xsl:template match="TEXINFO/NODE/NODENAME" mode="select">
66 <xsl:attribute name="name">
67 <xsl:apply-templates/>
69 <xsl:apply-templates/>
74 <xsl:template match="TEXINFO/NODE/NODENAME"/>
77 <xsl:template match="TEXINFO/NODE/NODEPREV" mode="select">
80 <xsl:attribute name="href">
81 <xsl:text>#</xsl:text>
82 <xsl:apply-templates/>
84 <xsl:apply-templates/>
88 <xsl:template match="TEXINFO/NODE/NODEPREV"/>
90 <xsl:template match="TEXINFO/NODE/NODEUP" mode="select">
93 <xsl:attribute name="href">
94 <xsl:text>#</xsl:text>
95 <xsl:apply-templates/>
97 <xsl:apply-templates/>
101 <xsl:template match="TEXINFO/NODE/NODEUP"/>
103 <xsl:template match="TEXINFO/NODE/NODENEXT" mode="select">
106 <xsl:attribute name="href">
107 <xsl:text>#</xsl:text>
108 <xsl:apply-templates/>
110 <xsl:apply-templates/>
114 <xsl:template match="TEXINFO/NODE/NODENEXT"/>
117 <xsl:template match="//MENU">
119 <xsl:apply-templates/>
122 <xsl:template match="//MENU/MENUENTRY">
124 <xsl:attribute name="href">
125 <xsl:text>#</xsl:text>
126 <xsl:apply-templates select="MENUNODE"/>
128 <xsl:apply-templates select="MENUTITLE"/>
130 <xsl:apply-templates select="MENUCOMMENT"/>
134 <xsl:template match="//MENU/MENUENTRY/MENUNODE">
135 <xsl:apply-templates/>
138 <xsl:template match="//MENU/MENUENTRY/MENUTITLE">
139 <xsl:apply-templates/>
142 <xsl:template match="//MENU/MENUENTRY/MENUCOMMENT">
143 <xsl:apply-templates mode="menucomment"/>
146 <xsl:template match="PARA" mode="menucomment">
147 <xsl:apply-templates/>
150 <xsl:template match="//PARA">
151 <p><xsl:apply-templates/></p>
155 <xsl:template match="//ITEMIZE">
157 <xsl:apply-templates/>
161 <xsl:template match="//ITEMIZE/ITEM">
163 <xsl:apply-templates/>
167 <xsl:template match="//ENUMERATE">
169 <xsl:apply-templates/>
173 <xsl:template match="//ENUMERATE/ITEM">
175 <xsl:apply-templates/>
180 <xsl:template match="//CODE">
182 <xsl:apply-templates/>
186 <xsl:template match="//DFN">
188 <xsl:apply-templates/>
192 <xsl:template match="//STRONG">
194 <xsl:apply-templates/>
198 <xsl:template match="//CENTER">
200 <xsl:apply-templates/>
204 <xsl:template match="//VAR">
206 <xsl:apply-templates/>
210 <xsl:template match="//KBD">
212 <xsl:apply-templates/>
216 <xsl:template match="//KEY">
218 <xsl:apply-templates/>
223 <xsl:template match="//DISPLAY">
225 <xsl:apply-templates/>
231 <xsl:template match="//INDEXTERM">
235 <xsl:template match="//FOOTNOTE">
238 <xsl:template match="//FOOTNOTE" mode="footnote">
239 <li><xsl:apply-templates/></li>