mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
28 lines
773 B
XML
28 lines
773 B
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!-- Edited by XMLSpy® -->
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:template match="/">
|
|
<html>
|
|
<body>
|
|
<h2 id="xsltheader">this xml file should be formatted using an xsl file(lower iframe should contain xml dump)!</h2>
|
|
<table border="1">
|
|
<tr bgcolor="#990099">
|
|
<th>Title</th>
|
|
<th>Artist</th>
|
|
<th>Price</th>
|
|
</tr>
|
|
<xsl:for-each select="catalog/cd">
|
|
<tr>
|
|
<td><xsl:value-of select="title"/></td>
|
|
<td><xsl:value-of select="artist"/></td>
|
|
<td><xsl:value-of select="price"/></td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
|