1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
2 <xsl:output method=
"html" />
3 <xsl:template match=
"/Readme">
7 <style type=
"text/css">
8 h1,h2,h3,h4,h5,p {margin:
0px;}
16 .section {background-color: #DEDEDE;}
17 .comment {text-color: #
666; font-size: xx-small;}
18 body * {font-size:
9pt}
22 <table border='
1' style='border-collapse:collapse;' cellpadding='
5'
>
24 <th>attribs
</th><th class=
"wnt">WNT
</th><th class=
"mac">MAC
</th><th class=
"soli">SOLI
</th><th class=
"solx">SOLX
</th><th class=
"unx">UNX
</th><th>none
</th><th>all
</th><th>Content
</th>
26 <xsl:apply-templates />
32 <xsl:template match=
"Section">
34 <th colspan=
"9" align='left'
class=
"section">SECTION
<xsl:value-of select=
"@id" /></th>
36 <xsl:apply-templates />
39 <xsl:template match=
"Paragraph">
42 <xsl:if test=
"@os">os=
<xsl:value-of select=
"@os"/></xsl:if><xsl:text> </xsl:text><xsl:if test=
"@gui">gui=
<xsl:value-of select=
"@gui"/></xsl:if>
44 <th class=
"wnt"><xsl:if test=
"@os='WNT' or @gui='WNT'">WNT
</xsl:if></th>
45 <th class=
"mac"><xsl:if test=
"@os='MACOSX'">MAC
</xsl:if></th>
46 <th class=
"soli"><xsl:if test=
"@os='SOLARIS' and @cpuname='INTEL'">SOLI
</xsl:if></th>
47 <th class=
"solx"><xsl:if test=
"@os='SOLARIS' and @cpuname='SPARC'">SOLX
</xsl:if></th>
48 <th class=
"unx"><xsl:if test=
"@os='LINUX' or @gui='UNX'">UNX
</xsl:if></th>
49 <th class=
"none"><xsl:if test=
"@os='none'">NONE
</xsl:if></th>
50 <th class=
"all"><xsl:if test=
"@os='all'">ALL
</xsl:if></th>
53 <xsl:when test=
"@xml:lang='x-comment'">
54 <span class=
"comment"><xsl:apply-templates/></span>
57 <xsl:if test=
"not(@style='')">
58 <xsl:text disable-output-escaping=
"yes"><</xsl:text><xsl:value-of select=
"@style"/><xsl:text disable-output-escaping=
"yes">></xsl:text>
60 <xsl:apply-templates/>
61 <xsl:if test=
"not(@style='')">
62 <xsl:text disable-output-escaping=
"yes"></
</xsl:text><xsl:value-of select=
"@style"/><xsl:text disable-output-escaping=
"yes">></xsl:text>
70 <xsl:template match=
"List">
72 <xsl:when test=
"@enum='true'">
74 <xsl:for-each select=
"child::*">
75 <li><xsl:apply-templates/></li>
81 <xsl:for-each select=
"child::*">
82 <li><xsl:apply-templates/></li>