Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html" encoding="utf-8" indent="yes"/>
- <xsl:template match="/entityset">
- <html>
- <body>
- <table border="1">
- <tr>
- <th>StartSupportgroup</th>
- <th>Store</th>
- <th>Phone</th>
- </tr>
- <xsl:apply-templates select="entity"/>
- </table>
- </body>
- </html>
- </xsl:template>
- <xsl:template match="entity">
- <tr>
- <td><xsl:value-of select="attribute[@code='start_supportGroup']/value"/></td>
- <td><xsl:value-of select="attribute[@code='store']/reference/@name"/></td>
- <td><xsl:value-of select="attribute[@code='phone']/value"/></td>
- </tr>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement