PageRenderTime 45ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/release-0.2.0-rc0/hive/external/conf/configuration.xsl

#
Extensible Stylesheet Language Transformations | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | 6c2923504cea4254cbec4e6bc0e334d9 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  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>