content/base/test/csp/file_CSP_bug663567.xsl

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial