Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
michael@0 | 2 | <!-- Edited by XMLSpy® --> |
michael@0 | 3 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
michael@0 | 4 | |
michael@0 | 5 | <xsl:template match="/"> |
michael@0 | 6 | <html> |
michael@0 | 7 | <body> |
michael@0 | 8 | <h2 id="xsltheader">this xml file should be formatted using an xsl file(lower iframe should contain xml dump)!</h2> |
michael@0 | 9 | <table border="1"> |
michael@0 | 10 | <tr bgcolor="#990099"> |
michael@0 | 11 | <th>Title</th> |
michael@0 | 12 | <th>Artist</th> |
michael@0 | 13 | <th>Price</th> |
michael@0 | 14 | </tr> |
michael@0 | 15 | <xsl:for-each select="catalog/cd"> |
michael@0 | 16 | <tr> |
michael@0 | 17 | <td><xsl:value-of select="title"/></td> |
michael@0 | 18 | <td><xsl:value-of select="artist"/></td> |
michael@0 | 19 | <td><xsl:value-of select="price"/></td> |
michael@0 | 20 | </tr> |
michael@0 | 21 | </xsl:for-each> |
michael@0 | 22 | </table> |
michael@0 | 23 | </body> |
michael@0 | 24 | </html> |
michael@0 | 25 | </xsl:template> |
michael@0 | 26 | </xsl:stylesheet> |
michael@0 | 27 |