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	Thu Oct 20 09:15:04 2011 +0000
+++ b/xsls/body.xsls	Thu Oct 20 09:19:41 2011 +0000
@@ -36,7 +36,7 @@
 
         <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]" {