Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 1684:ac9fa096b685
Added the module/para/@id attribute.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 13 Apr 2016 09:09:01 +0300 |
parents | cd73f6e9aaf3 |
children | 364a04c4f761 |
comparison
equal
deleted
inserted
replaced
1683:5244689583a9 | 1684:ac9fa096b685 |
---|---|
26 } | 26 } |
27 | 27 |
28 X:template = "section/section[not(@id) and @name]" { | 28 X:template = "section/section[not(@id) and @name]" { |
29 <center><h5> !{@name} </h5></center> | 29 <center><h5> !{@name} </h5></center> |
30 !!; | 30 !!; |
31 } | |
32 | |
33 X:template = "para[@id]" { | |
34 <a name="{@id}" /> | |
35 <p> !!; </p> | |
31 } | 36 } |
32 | 37 |
33 X:template = "para" { <p> !!; </p> } | 38 X:template = "para" { <p> !!; </p> } |
34 | 39 |
35 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } | 40 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |