Mercurial > hg > nginx-site
diff xsls/body.xsls @ 110:40eec261c2a6
Added proper support for anonymous sections, notably for the summary.
Changed DTD to always require section IDs.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 20 Oct 2011 09:19:41 +0000 |
parents | 36f1994d7fa1 |
children | 49443032011c |
line wrap: on
line diff
--- a/xsls/body.xsls +++ b/xsls/body.xsls @@ -36,7 +36,7 @@ X:template body (lang) { <table width="100%"><tr><td align="{$INDEX_ALIGN}"> X:if "section[@id]" { - X:for-each "section[@id]" { + X:for-each "section[@id and @name]" { <a href="#{@id}"> !{@name} </a><br/> X:if "@id = 'directives'" { X:for-each "directive[@name]" {