4 mono-ecma.xsl: ECMA-style docs to HTML stylesheet trasformation
6 Author: Joshua Tauberer (tauberer@for.net)
9 split this into multiple files
14 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
15 xmlns:
monodoc=
"monodoc:///extensions"
16 exclude-result-prefixes=
"monodoc"
18 <xsl:import href=
"mdoc-sections.xsl" />
19 <xsl:import href=
"mono-ecma-impl.xsl" />
21 <xsl:output omit-xml-declaration=
"yes" />
23 <xsl:template name=
"CreateCodeBlock">
24 <xsl:param name=
"language" />
25 <xsl:param name=
"content" />
26 <table class=
"CodeExampleTable" bgcolor=
"#f5f5dd" border=
"1" cellpadding=
"5" width=
"100%">
27 <tr><td><b><xsl:value-of select=
"$language"/> Example
</b></td></tr>
31 <xsl:value-of select="monodoc:Colorize($content, string($language))"
32 disable-output-escaping="yes" />
35 <xsl:value-of select=
"$content" />