nginx/docs/xsls/content.xsls
Ruslan Ermilov 2a46092c5a - The module name is now also output as an HTML header.
- Agreed that examples can only contain literal text.
- Agreed to call modules "ngx_*_module".
- Renamed XML element "http-error" to a more general "http-status".
- Fixed text of error codes to match the actual code.
2011-09-15 08:24:33 +00:00

68 lines
1.9 KiB
Plaintext

X:stylesheet {
X:template = "section[@id and @name]" {
<a name="{@id}" /> <center><h4> !{@name} </h4></center>
!!;
}
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;}
}
X:template = "example" { <blockquote><pre> !!; </pre></blockquote> }
X:template = "emphasis" { <strong> !!; </strong> }
X:template = "header" { <code> !!; </code> }
X:template = "http-status" {
!{@code} X:text{ (} !{@text} X:text{)}
}
X:template = "link[@url]" { <a href="{@url}"> !!; </a> }
X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> }
X:template = "link[@doc and not(@id)]" {
<a href="{substring-before(@doc, '.xml')}.html"> !!; </a>
}
X:template = "link[@id and @doc]" {
<a href="{substring-before(@doc, '.xml')}.html#{@id}"> !!; </a>
}
X:template = "link" { <u> !!; </u> }
X:template = "list[@type='bullet']" { <ul> !!; </ul> }
X:template = "list[@type='enum']" { <ol> !!; </ol> }
X:template = "listitem" { <li> !!; </li> }
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> }
X:template = "argument" { <code><i> !!; </i></code> }
X:template = "parameter" { <code> !!; </code> }
X:template = "value" { <code> !!; </code> }
X:template = "var" { <code> !!; </code> }
}