~ubuntu-branches/ubuntu/maverick/libvirt/maverick

« back to all changes in this revision

Viewing changes to docs/ChangeLog.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-25 18:51:21 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream) (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: james.westby@ubuntu.com-20080625185121-8dku38gpoluks1bx
Tags: upstream-0.4.4
ImportĀ upstreamĀ versionĀ 0.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!-- this stylesheet builds the ChangeLog.html -->
 
3
<xsl:stylesheet version="1.0"
 
4
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
5
 
 
6
  <!-- Generate XHTML-1.0 transitional -->
 
7
  <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
 
8
      doctype-public="-//W3C//DTD XHTML 1.0//EN"
 
9
      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
 
10
 
 
11
  <xsl:template match="item">
 
12
    <li><xsl:apply-templates/></li>
 
13
  </xsl:template>
 
14
 
 
15
  <xsl:template match="entry">
 
16
    <p>
 
17
      <span class="author"><xsl:value-of select="@who"/> </span>
 
18
      <span class="date"><xsl:value-of select="@date"/> </span>
 
19
      <span class="timezone"><xsl:value-of select="@timezone"/> </span>
 
20
    </p>
 
21
    <ul>
 
22
      <xsl:apply-templates select="item"/>
 
23
    </ul>
 
24
  </xsl:template>
 
25
 
 
26
  <xsl:template match="log">
 
27
    <html>
 
28
      <body>
 
29
        <h1>Log of recent changes to libvirt</h1>
 
30
        <div id="changelog">
 
31
          <xsl:apply-templates select="entry"/>
 
32
        </div>
 
33
      </body>
 
34
    </html>
 
35
  </xsl:template>
 
36
 
 
37
</xsl:stylesheet>