Mercurial > hg > nginx
view docs/xsls/module.xsls @ 4066:ac19e755a132
DTD and XSLS changes for modules.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 05 Sep 2011 09:32:00 +0000 |
parents | fc808f006ff4 |
children | 5e2103cffd80 |
line wrap: on
line source
X:stylesheet { X:output method="html" indent="no" encoding="utf-8"; X:strip-space elements = "*"; <!-- -- a current directory of a XSLT script is where the script is stored, -- but not where XSLT processor has been started to run the script --> X:param XML = "'../xml'"; X:var ID = "/module/@id"; X:include href = "directive.xslt"; X:include href = "content.xslt"; X:template = "/module" { <html><head> <title> !{@name} </title> </head> <body> !!; </body> </html> } }