Mercurial > hg > nginx
comparison docs/xslt/module.xslt @ 3996:fc808f006ff4
skeleton for documentation processing
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 05 Aug 2011 09:25:34 +0000 |
parents | |
children | 131adbb6c82d |
comparison
equal
deleted
inserted
replaced
3995:3ce6b8cedcb9 | 3996:fc808f006ff4 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
3 | |
4 <xsl:output indent="no" encoding="utf-8" method="html"/> | |
5 | |
6 <xsl:strip-space elements="*"/> | |
7 | |
8 <xsl:param select="'../xml'" name="XML"/> | |
9 | |
10 <xsl:variable select="/module/@link" name="LINK"/> | |
11 | |
12 <xsl:include href="directive.xslt"/> | |
13 <xsl:include href="content.xslt"/> | |
14 | |
15 <xsl:template match="/module"> | |
16 | |
17 <html> | |
18 <head> | |
19 | |
20 <title> | |
21 <xsl:value-of select="@title"/> | |
22 </title> | |
23 | |
24 </head> | |
25 | |
26 <body> | |
27 | |
28 <xsl:apply-templates/> | |
29 | |
30 </body> | |
31 | |
32 </html> | |
33 </xsl:template> | |
34 </xsl:stylesheet> |