nginx/docs/xslt/module.xslt

43 lines
822 B
HTML
Raw Normal View History

2011-08-05 04:25:34 -05:00
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output indent="no" encoding="utf-8" method="html"/>
<xsl:strip-space elements="*"/>
<xsl:param select="'../xml'" name="XML"/>
<xsl:variable select="/module/@id" name="ID"/>
2011-08-05 04:25:34 -05:00
<xsl:include href="directive.xslt"/>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
<xsl:include href="content.xslt"/>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
<xsl:template match="/module">
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
<html>
<head>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
<title>
<xsl:value-of select="@name"/>
2011-08-05 04:25:34 -05:00
</title>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
</head>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
<body>
2011-09-15 03:33:25 -05:00
<center>
<h3>
<xsl:value-of select="@name"/>
</h3>
</center>
2011-08-05 04:25:34 -05:00
<xsl:apply-templates/>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
</body>
2011-08-09 10:15:36 -05:00
2011-08-05 04:25:34 -05:00
</html>
</xsl:template>
2011-08-09 10:15:36 -05:00
</xsl:stylesheet>