configuration.xsl 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  18. <xsl:output method="html"/>
  19. <xsl:template match="configuration">
  20. <html>
  21. <body>
  22. <table border="1">
  23. <tr>
  24. <td>name</td>
  25. <td>value</td>
  26. <td>description</td>
  27. </tr>
  28. <xsl:for-each select="property">
  29. <tr>
  30. <td><a name="{name}"><xsl:value-of select="name"/></a></td>
  31. <td><xsl:value-of select="value"/></td>
  32. <td><xsl:value-of select="description"/></td>
  33. </tr>
  34. </xsl:for-each>
  35. </table>
  36. </body>
  37. </html>
  38. </xsl:template>
  39. </xsl:stylesheet>