content/base/test/csp/file_CSP_bug910139.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.)

     1 <?xml version="1.0" encoding="ISO-8859-1"?>
     2 <!-- Edited by XMLSpy® -->
     3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     5 <xsl:template match="/">
     6   <html>
     7   <body>
     8   <h2 id="xsltheader">this xml file should be formatted using an xsl file(lower iframe should contain xml dump)!</h2>
     9     <table border="1">
    10       <tr bgcolor="#990099">
    11         <th>Title</th>
    12         <th>Artist</th>
    13         <th>Price</th>
    14       </tr>
    15       <xsl:for-each select="catalog/cd">
    16       <tr>
    17         <td><xsl:value-of select="title"/></td>
    18         <td><xsl:value-of select="artist"/></td>
    19         <td><xsl:value-of select="price"/></td>
    20       </tr>
    21       </xsl:for-each>
    22     </table>
    23   </body>
    24   </html>
    25 </xsl:template>
    26 </xsl:stylesheet>

mercurial