Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <body>
- <h2> HELLO </h2>
- <table>
- <th>Juicer</th>
- <th>Cost</th>
- <xsl:for-each select="juicer">
- <tr>
- <td> <xsl:value-of select="name" /> </td>
- <td> <xsl:value-of select="cost" /> </td>
- </tr>
- </xsl:for-each>
- </table>
- </xsl:template>
- </body>
- </html>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement