buyingyi | c73348c | 2012-11-02 00:31:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| 3 | <xsl:output method="html"/> |
| 4 | <xsl:template match="configuration"> |
| 5 | <html> |
| 6 | <body> |
| 7 | <table border="1"> |
| 8 | <tr> |
| 9 | <td>name</td> |
| 10 | <td>value</td> |
| 11 | <td>description</td> |
| 12 | </tr> |
| 13 | <xsl:for-each select="property"> |
| 14 | <tr> |
| 15 | <td><a name="{name}"><xsl:value-of select="name"/></a></td> |
| 16 | <td><xsl:value-of select="value"/></td> |
| 17 | <td><xsl:value-of select="description"/></td> |
| 18 | </tr> |
| 19 | </xsl:for-each> |
| 20 | </table> |
| 21 | </body> |
| 22 | </html> |
| 23 | </xsl:template> |
| 24 | </xsl:stylesheet> |