Ticket #3863: changes.xsl

File changes.xsl, 1.6 KB (added by Michael Osipov, 15 years ago)
Line 
1<?xml version="1.0"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3        xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"
4        exclude-result-prefixes="html">
5
6        <xsl:output method="xml" indent="yes" />
7
8        <xsl:template match="/">
9                <html>
10                        <head>
11                                <title>Changelog - CKEditor</title>
12                                <meta http-equiv="content-type" content="text/html; charset=utf-8" />
13                                <style type="text/css">
14                                #footer hr {
15                                        margin: 10px 0 15px 0;
16                                        height: 1px;
17                                        border: solid 1px gray;
18                                        border-bottom: none;
19                                }
20
21                                #footer p {
22                                        margin: 0 10px 10px 10px;
23                                        float: left;
24                                }
25
26                                #footer #copy {
27                                        float: right;
28                                }
29                                </style>
30                        </head>
31                <body>
32                        <h1>CKEditor Changelog</h1>
33                        <h3>CKEditor 3.0 (SVN)</h3>
34                        <ul>
35                                <xsl:for-each select="//row[type/text()='Bug']">
36                                <xsl:sort select="id" data-type="number" order="descending"/>
37                                        <li>
38                                                <a target="_blank">
39                                                        <xsl:attribute name="href">http://dev.fckeditor.net/ticket/<xsl:value-of select="id" /></xsl:attribute>
40                                                        <xsl:text>#<xsl:value-of select="id" /></xsl:text>
41                                                </a>: <xsl:value-of select="summary" />
42                                        </li>
43                                </xsl:for-each>
44                        </ul>
45                        <div id="footer">
46                                <hr />
47                                <p>
48                                        CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
49                                </p>
50                                <p id="copy">
51                                        Copyright &#169; 2003-2009, <a href="http://cksource.com/">CKSource</a> - Frederico
52                                        Knabben. All rights reserved.
53                                </p>
54                        </div>
55                  </body>
56                </html>
57        </xsl:template>
58</xsl:stylesheet>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy