Mercurial > hg > nginx-quic
comparison docs/xsls/content.xsls @ 4081:deab88e4c35a
Basic inter-document and external linking support.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 08 Sep 2011 13:26:06 +0000 |
parents | 24f511e94057 |
children | 20331a241fe1 |
comparison
equal
deleted
inserted
replaced
4080:a1e1b348bfaf | 4081:deab88e4c35a |
---|---|
37 X:template = "http-error" { | 37 X:template = "http-error" { |
38 <i> X:text{"} !{@text} X:text{"} </i> | 38 <i> X:text{"} !{@text} X:text{"} </i> |
39 X:text{ (} !{@code} X:text{)} | 39 X:text{ (} !{@code} X:text{)} |
40 } | 40 } |
41 | 41 |
42 X:template = "link[@url]" { <a href="{@url}"> !!; </a> } | |
42 X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> } | 43 X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> } |
44 X:template = "link[@doc and not(@id)]" { | |
45 <a href="{substring-before(@doc, '.xml')}.html"> !!; </a> | |
46 } | |
47 X:template = "link[@id and @doc]" { | |
48 <a href="{substring-before(@doc, '.xml')}.html#{@id}"> !!; </a> | |
49 } | |
43 X:template = "link" { <u> !!; </u> } | 50 X:template = "link" { <u> !!; </u> } |
44 | 51 |
45 X:template = "list[@type='bullet']" { <ul> !!; </ul> } | 52 X:template = "list[@type='bullet']" { <ul> !!; </ul> } |
46 X:template = "list[@type='enum']" { <ol> !!; </ol> } | 53 X:template = "list[@type='enum']" { <ol> !!; </ol> } |
47 X:template = "listitem" { <li> !!; </li> } | 54 X:template = "listitem" { <li> !!; </li> } |