Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xsl / sort-locale.xsl
blob16ceaa15241ac05092c88c47fe3c63dfe2480d30
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:template match="/">
4 <html>
5 <body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 <h2>en</h2>
11 <table border="1">
12 <xsl:for-each select="list/item">
13 <xsl:sort select="." data-type="text" order="ascending" lang="en" />
14 <tr>
15 <td><xsl:value-of select="."/></td>
16 </tr>
17 </xsl:for-each>
18 </table>
19 <h2>fr</h2>
20 <table border="1">
21 <xsl:for-each select="list/item">
22 <xsl:sort select="." data-type="text" order="ascending" lang="fr" />
23 <tr>
24 <td><xsl:value-of select="."/></td>
25 </tr>
26 </xsl:for-each>
27 </table>
28 <h2>fr-CA</h2>
29 <table border="1">
30 <xsl:for-each select="list/item">
31 <xsl:sort select="." data-type="text" order="ascending" lang="fr-CA" />
32 <tr>
33 <td><xsl:value-of select="."/></td>
34 </tr>
35 </xsl:for-each>
36 </table>
37 </body>
38 </html>
39 </xsl:template>
40 </xsl:stylesheet>