backup: Implement qemu incremental pull backup
[libvirt/ericb.git] / docs / news-ascii.xsl
blob8dacae934cbe1c70c7199da80e9698af3330a8c4
1 <?xml version="1.0"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method="text" encoding="UTF-8"/>
5 <!-- This XSLT stylesheet can be applied to the XML version of the release
6 notes to produce a plain text document. The output document is not
7 formatted properly and needs to be processed further -->
9 <!-- Document -->
10 <xsl:template match="/libvirt">
11 <xsl:text>libvirt releases
12 ================
13 </xsl:text>
14 <xsl:apply-templates select="release"/>
15 <xsl:text>
16 ==============================================================================
17 Older libvirt releases didn't have proper release notes: if you are interested
18 in changes between them, you should check out docs/news-*.html or the full git
19 log (see instructions in ChangeLog).
20 </xsl:text>
21 </xsl:template>
23 <!-- Release -->
24 <xsl:template match="release">
25 <xsl:text>
26 # </xsl:text>
27 <xsl:value-of select="@version"/>
28 <xsl:text> (</xsl:text>
29 <xsl:value-of select="@date"/>
30 <xsl:text>)
31 </xsl:text>
32 <xsl:apply-templates select="section"/>
33 </xsl:template>
35 <!-- Section -->
36 <xsl:template match="section">
37 <xsl:text>
38 * </xsl:text>
39 <xsl:value-of select="@title"/>
40 <xsl:text>
41 </xsl:text>
42 <xsl:apply-templates select="change"/>
43 </xsl:template>
45 <!-- Change -->
46 <xsl:template match="change">
47 <xsl:text>
48 </xsl:text>
49 <xsl:apply-templates select="summary"/>
50 <xsl:apply-templates select="description"/>
51 </xsl:template>
53 <!-- Change summary -->
54 <xsl:template match="summary">
55 <xsl:text>- </xsl:text>
56 <xsl:value-of select="normalize-space()"/>
57 <xsl:text>
58 </xsl:text>
59 </xsl:template>
61 <!-- Change description -->
62 <xsl:template match="description">
63 <xsl:text>|</xsl:text> <!-- This will be removed when reformatting -->
64 <xsl:value-of select="normalize-space()"/>
65 <xsl:text>
66 </xsl:text>
67 </xsl:template>
69 </xsl:stylesheet>