2 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method=
"xml" indent=
"yes" encoding=
"UTF-8"/>
5 <!-- This XSLT stylesheet can be applied to the XML version of the release
6 notes to produce an HTML document suitable for further processing.
7 In particular, the final output will end up on the libvirt website -->
10 <xsl:template match=
"/libvirt">
11 <xsl:text disable-output-escaping=
"yes"><!DOCTYPE html
>
13 <html xmlns=
"http://www.w3.org/1999/xhtml">
15 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8"/>
18 <xsl:text disable-output-escaping=
"yes">
20 <!-- DO NOT EDIT THIS FILE! It was generated automatically.
21 Edit the source file (news.xml) instead --
>
25 <p>This is the list of official releases for libvirt, along with an
26 overview of the changes introduced by each of them.
</p>
27 <p>For a more fine-grained view, use the
28 <a href=
"https://libvirt.org/git/?p=libvirt.git;a=log">git log
</a>.
30 <xsl:apply-templates select=
"release"/>
31 <p>Older libvirt releases didn't have proper release notes,
32 and as such are not included in this page: if you're looking
33 for information about them, start from those made in
34 <a href=
"news-2016.html">2016</a> and work your way back.
</p>
40 <xsl:template match=
"release">
43 <xsl:value-of select=
"@version"/>
44 <xsl:text> (
</xsl:text>
45 <xsl:value-of select=
"@date"/>
46 <xsl:text>)
</xsl:text>
50 <xsl:apply-templates select=
"section"/>
55 <xsl:template match=
"section">
58 <xsl:value-of select=
"@title"/>
62 <xsl:apply-templates select=
"change"/>
69 <xsl:template match=
"change">
71 <xsl:apply-templates select=
"summary"/>
72 <xsl:apply-templates select=
"description"/>
76 <!-- Change summary -->
77 <xsl:template match=
"summary">
78 <xsl:apply-templates/>
81 <!-- Change description -->
82 <xsl:template match=
"description">
84 <xsl:apply-templates/>
87 <!-- <code> HTML tag -->
88 <xsl:template match=
"code">
89 <xsl:text disable-output-escaping=
"yes"><code
></xsl:text>
90 <xsl:apply-templates/>
91 <xsl:text disable-output-escaping=
"yes"></code
></xsl:text>