SandBox: format.xsl

File format.xsl, 496 bytes (added by jowik, 14 years ago)
Line 
1<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2  <xsl:output method="html"/>
3
4  <xsl:template match="/info">
5    <table>
6      <tr><th>Name</th><th>Address</th><th>Email</th></tr>
7      <xsl:apply-templates/>
8    </table>
9  </xsl:template>
10
11  <xsl:template match="person">
12    <tr>
13      <td><xsl:value-of select="name"/></td>
14      <td><xsl:value-of select="addr"/></td>
15      <td><xsl:value-of select="email"/></td>
16    </tr>
17  </xsl:template>
18</xsl:stylesheet>
Home
About PCA
Reference Data Services (RDS)
RDS Operations Support
Meetings and Conferences
ISO 15926
Special Interest Groups
Technical Advisory Board
Norwegian Continental Shelf Std
Projects
Search