1cdf0e10cSrcweir<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 2cdf0e10cSrcweir <xsl:output method="text" /> 3cdf0e10cSrcweir <xsl:template match="/Readme"> 4cdf0e10cSrcweir <html> 5cdf0e10cSrcweir <head> 6cdf0e10cSrcweir <title></title> 7cdf0e10cSrcweir <style type="text/css"> 8cdf0e10cSrcweir h1,h2,h3,h4,h5,p {margin:0px;} 9cdf0e10cSrcweir .mac {color: #000;} 10cdf0e10cSrcweir .wnt {color: #000;} 11cdf0e10cSrcweir .unx {color: #000;} 12cdf0e10cSrcweir .soli {color: #000;} 13cdf0e10cSrcweir .solx {color: #000;} 14cdf0e10cSrcweir .none {color: #000;} 15cdf0e10cSrcweir .all {color: #000;} 16cdf0e10cSrcweir .section {background-color: #DEDEDE;} 17cdf0e10cSrcweir .comment {text-color: #666; font-size: xx-small;} 18cdf0e10cSrcweir body * {font-size: 9pt} 19cdf0e10cSrcweir </style> 20cdf0e10cSrcweir </head> 21cdf0e10cSrcweir <body> 22cdf0e10cSrcweir <table border='1' style='border-collapse:collapse;' cellpadding='5'> 23cdf0e10cSrcweir <tr> 24*27ead02aSPedro Giffuni <th>attribs</th><th class="wnt">WNT</th><th class="os2">OS2</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> 25cdf0e10cSrcweir </tr> 26cdf0e10cSrcweir <xsl:apply-templates /> 27cdf0e10cSrcweir </table> 28cdf0e10cSrcweir </body> 29cdf0e10cSrcweir </html> 30cdf0e10cSrcweir </xsl:template> 31cdf0e10cSrcweir 32cdf0e10cSrcweir <xsl:template match="Section"> 33cdf0e10cSrcweir <tr> 34cdf0e10cSrcweir <th colspan="9" align='left' class="section">SECTION <xsl:value-of select="@id" /></th> 35cdf0e10cSrcweir </tr> 36cdf0e10cSrcweir <xsl:apply-templates /> 37cdf0e10cSrcweir </xsl:template> 38cdf0e10cSrcweir 39cdf0e10cSrcweir <xsl:template match="Paragraph"> 40cdf0e10cSrcweir <tr> 41cdf0e10cSrcweir <td> 42cdf0e10cSrcweir <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> 43cdf0e10cSrcweir </td> 44cdf0e10cSrcweir <th class="wnt"><xsl:if test="@os='WNT' or @gui='WNT'">WNT</xsl:if></th> 45*27ead02aSPedro Giffuni <th class="os2"><xsl:if test="@os='OS2' or @gui='WNT'">OS2</xsl:if></th> 46cdf0e10cSrcweir <th class="mac"><xsl:if test="@os='MACOSX'">MAC</xsl:if></th> 47cdf0e10cSrcweir <th class="soli"><xsl:if test="@os='SOLARIS' and @cpuname='INTEL'">SOLI</xsl:if></th> 48cdf0e10cSrcweir <th class="solx"><xsl:if test="@os='SOLARIS' and @cpuname='SPARC'">SOLX</xsl:if></th> 49cdf0e10cSrcweir <th class="unx"><xsl:if test="@os='LINUX' or @gui='UNX'">UNX</xsl:if></th> 50cdf0e10cSrcweir <th class="none"><xsl:if test="@os='none'">NONE</xsl:if></th> 51cdf0e10cSrcweir <th class="all"><xsl:if test="@os='all'">ALL</xsl:if></th> 52cdf0e10cSrcweir <td> 53cdf0e10cSrcweir <xsl:choose> 54cdf0e10cSrcweir <xsl:when test="@xml:lang='x-comment'"> 55cdf0e10cSrcweir <span class="comment"><xsl:apply-templates/></span> 56cdf0e10cSrcweir </xsl:when> 57cdf0e10cSrcweir <xsl:otherwise> 58cdf0e10cSrcweir <xsl:if test="not(@style='')"> 59cdf0e10cSrcweir <xsl:text disable-output-escaping="yes"><</xsl:text><xsl:value-of select="@style"/><xsl:text disable-output-escaping="yes">></xsl:text> 60cdf0e10cSrcweir </xsl:if> 61cdf0e10cSrcweir <xsl:apply-templates/> 62cdf0e10cSrcweir <xsl:if test="not(@style='')"> 63cdf0e10cSrcweir <xsl:text disable-output-escaping="yes"></</xsl:text><xsl:value-of select="@style"/><xsl:text disable-output-escaping="yes">></xsl:text> 64cdf0e10cSrcweir </xsl:if> 65cdf0e10cSrcweir </xsl:otherwise> 66cdf0e10cSrcweir </xsl:choose> 67cdf0e10cSrcweir </td> 68cdf0e10cSrcweir </tr> 69cdf0e10cSrcweir </xsl:template> 70cdf0e10cSrcweir 71cdf0e10cSrcweir <xsl:template match="List"> 72cdf0e10cSrcweir <xsl:choose> 73cdf0e10cSrcweir <xsl:when test="@enum='true'"> 74cdf0e10cSrcweir <ol> 75cdf0e10cSrcweir <xsl:for-each select="child::*"> 76cdf0e10cSrcweir <li><xsl:apply-templates/></li> 77cdf0e10cSrcweir </xsl:for-each> 78cdf0e10cSrcweir </ol> 79cdf0e10cSrcweir </xsl:when> 80cdf0e10cSrcweir <xsl:otherwise> 81cdf0e10cSrcweir <ul> 82cdf0e10cSrcweir <xsl:for-each select="child::*"> 83cdf0e10cSrcweir <li><xsl:apply-templates/></li> 84cdf0e10cSrcweir </xsl:for-each> 85cdf0e10cSrcweir </ul> 86cdf0e10cSrcweir </xsl:otherwise> 87cdf0e10cSrcweir </xsl:choose> 88cdf0e10cSrcweir 89cdf0e10cSrcweir </xsl:template> 90cdf0e10cSrcweir 91cdf0e10cSrcweir</xsl:stylesheet> 92cdf0e10cSrcweir 93