云计算课程实验
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

40 linhas
1.3 KiB

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