nginx/docs/xsls/content.xsls

62 lines
1.7 KiB
Plaintext
Raw Normal View History

2011-08-05 04:25:34 -05:00
X:stylesheet {
2011-09-05 04:32:00 -05:00
X:template = "section[@id and @name]" {
<a name="{@id}" /> <center><h4> !{@name} </h4></center>
!!;
}
2011-08-05 04:25:34 -05:00
2011-09-05 04:32:00 -05:00
X:template = "section[not(@id) and @name]" {
<center><h4> !{@name} </h4></center>
!!;
}
X:template = "section[not(@id) and not(@name)]" { !!; }
X:template = "para" { <p> !!; </p> }
X:template = "c-def" { <code> !!; </code> }
X:template = "c-func" { <code> !!; X:text{()} </code> }
X:template = "code" { <code> !!; </code> }
X:template = "command" { <code> !!; </code> }
X:template = "dq" {
X:text disable-output-escaping="yes" {&amp;ldquo;}
!!;
X:text disable-output-escaping="yes" {&amp;rdquo;}
}
2011-09-05 04:32:00 -05:00
X:template = "example" { <blockquote><pre> !!; </pre></blockquote> }
X:template = "emphasis" { <strong> !!; </strong> }
X:template = "header" { <code> !!; </code> }
X:template = "http-error" {
<i> X:text{&quot;} !{@text} X:text{&quot;} </i>
X:text{ (} !{@code} X:text{)}
}
2011-08-05 04:25:34 -05:00
2011-09-05 04:32:00 -05:00
X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> }
X:template = "link" { <u> !!; </u> }
2011-08-05 04:25:34 -05:00
2011-09-05 04:32:00 -05:00
X:template = "list[@type='bullet']" { <ul> !!; </ul> }
X:template = "list[@type='enum']" { <ol> !!; </ol> }
X:template = "listitem" { <li> !!; </li> }
2011-08-05 04:25:34 -05:00
X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> }
X:template = "tag-name" { <dt> !!; </dt> }
X:template = "tag-desc" { <dd> !!; </dd> }
X:template = "pathname" { <code> !!; </code> }
2011-09-05 04:32:00 -05:00
X:template = "argument" { <code><i> !!; </i></code> }
X:template = "parameter" { <code> !!; </code> }
2011-09-05 04:32:00 -05:00
X:template = "value" { <code> !!; </code> }
2011-08-05 04:25:34 -05:00
2011-09-05 04:32:00 -05:00
X:template = "var" { <code> !!; </code> }
2011-08-05 04:25:34 -05:00
}