Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 461:6135f3c95bf6
Unified markup for lists.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 27 Mar 2012 14:30:18 +0000 |
parents | 4e3b681cae20 |
children | cac48e2d0d9b |
comparison
equal
deleted
inserted
replaced
460:d645a7e0c229 | 461:6135f3c95bf6 |
---|---|
63 } | 63 } |
64 | 64 |
65 X:template = "tag-name" { <dt> !!; </dt> } | 65 X:template = "tag-name" { <dt> !!; </dt> } |
66 X:template = "tag-desc" { <dd> !!; </dd> } | 66 X:template = "tag-desc" { <dd> !!; </dd> } |
67 | 67 |
68 <!-- legacy list templates --> | |
69 | |
70 X:template = "list[not(@type)]" { <ul> !!; </ul> } | |
71 X:template = "para/list[not(@type)]" { | |
72 X:text disable-output-escaping="yes" {</p> } | |
73 <ul> !!; </ul> | |
74 X:text disable-output-escaping="yes" {<p> } | |
75 } | |
76 X:template = "item" { <li> !!; </li> } | |
77 | |
78 | |
79 X:template = "orderedlist" { <ol> !!; </ol> } | |
80 X:template = "para/orderedlist" { | |
81 X:text disable-output-escaping="yes" {</p> } | |
82 <ol> !!; </ol> | |
83 X:text disable-output-escaping="yes" {<p> } | |
84 } | |
85 X:template = "item" { <li> !!; </li> } | |
86 | |
87 <!-- --> | |
88 | |
89 X:template = "table[@note and @width]" { | 68 X:template = "table[@note and @width]" { |
90 <blockquote><table width="{@width}"> !!; </table></blockquote> | 69 <blockquote><table width="{@width}"> !!; </table></blockquote> |
91 } | 70 } |
92 X:template = "table[@note and not(@width)]" { | 71 X:template = "table[@note and not(@width)]" { |
93 <blockquote><table width="100%"> !!; </table></blockquote> | 72 <blockquote><table width="100%"> !!; </table></blockquote> |