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 -->
10 <xsl:template match=
"/libvirt">
11 <xsl:text>libvirt releases
14 <xsl:apply-templates select=
"release"/>
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).
24 <xsl:template match=
"release">
27 <xsl:value-of select=
"@version"/>
28 <xsl:text> (
</xsl:text>
29 <xsl:value-of select=
"@date"/>
32 <xsl:apply-templates select=
"section"/>
36 <xsl:template match=
"section">
39 <xsl:value-of select=
"@title"/>
42 <xsl:apply-templates select=
"change"/>
46 <xsl:template match=
"change">
49 <xsl:apply-templates select=
"summary"/>
50 <xsl:apply-templates select=
"description"/>
53 <!-- Change summary -->
54 <xsl:template match=
"summary">
55 <xsl:text>-
</xsl:text>
56 <xsl:value-of select=
"normalize-space()"/>
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()"/>