comparison 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
comparison
equal deleted inserted replaced
109:6d801bb6e5ed 110:40eec261c2a6
34 34
35 <tr><td valign="top"> 35 <tr><td valign="top">
36 36
37 <table width="100%"><tr><td align="{$INDEX_ALIGN}"> 37 <table width="100%"><tr><td align="{$INDEX_ALIGN}">
38 X:if "section[@id]" { 38 X:if "section[@id]" {
39 X:for-each "section[@id]" { 39 X:for-each "section[@id and @name]" {
40 <a href="#{@id}"> !{@name} </a><br/> 40 <a href="#{@id}"> !{@name} </a><br/>
41 X:if "@id = 'directives'" { 41 X:if "@id = 'directives'" {
42 X:for-each "directive[@name]" { 42 X:for-each "directive[@name]" {
43 X:text{&#160;&#160;&#160;&#160;&#160;} 43 X:text{&#160;&#160;&#160;&#160;&#160;}
44 <a href="#{@name}"> !{@name} </a><br/> 44 <a href="#{@name}"> !{@name} </a><br/>