nginx/docs/xslt/module.xslt

43 lines
822 B
HTML
Raw Normal View History

2011-08-05 17:25:34 +08: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 17:25:34 +08:00
<xsl:include href="directive.xslt"/>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
<xsl:include href="content.xslt"/>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
<xsl:template match="/module">
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
<html>
<head>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
<title>
<xsl:value-of select="@name"/>
2011-08-05 17:25:34 +08:00
</title>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
</head>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
<body>
2011-09-15 16:33:25 +08:00
<center>
<h3>
<xsl:value-of select="@name"/>
</h3>
</center>
2011-08-05 17:25:34 +08:00
<xsl:apply-templates/>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
</body>
2011-08-09 23:15:36 +08:00
2011-08-05 17:25:34 +08:00
</html>
</xsl:template>
2011-08-09 23:15:36 +08:00
</xsl:stylesheet>