Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 17:1fc034261cf4
Refactoring r16: "initial" should be property of text but not of paragraph.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 26 Aug 2011 04:47:48 +0000 |
parents | 2f7420346aee |
children | 9d3403f5204d |
comparison
equal
deleted
inserted
replaced
16:eb3fcac8a407 | 17:1fc034261cf4 |
---|---|
16 | 16 |
17 X:template = "item/para" { <p class="noindent"> !!; </p> } | 17 X:template = "item/para" { <p class="noindent"> !!; </p> } |
18 | 18 |
19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } | 19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |
20 | 20 |
21 X:template = "para[@initial]" { | 21 X:template = "para[child::initial]" { <p class="noindent"> !!; </p> } |
22 <p class="noindent"> | 22 |
23 <span class="initial"><b> !{@initial} X:text{ } </b></span> | 23 X:template = "initial" { <span class="initial"><b> !!; </b></span> } |
24 !!; | |
25 </p> | |
26 } | |
27 | 24 |
28 | 25 |
29 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } | 26 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } |
30 | 27 |
31 X:template = "para/programlisting" { | 28 X:template = "para/programlisting" { |