2017-01-03 19:22:54 +08:00
|
|
|
<?xml version="1.0"?>
|
2019-07-17 22:28:54 +08:00
|
|
|
<xsl:stylesheet version="1.0"
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
2017-01-03 19:22:54 +08:00
|
|
|
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
|
|
|
|
|
|
|
|
<!-- This XSLT stylesheet can be applied to the XML version of the release
|
|
|
|
notes to produce an HTML document suitable for further processing.
|
|
|
|
In particular, the final output will end up on the libvirt website -->
|
|
|
|
|
|
|
|
<!-- Document -->
|
|
|
|
<xsl:template match="/libvirt">
|
2017-07-27 01:01:25 +08:00
|
|
|
<xsl:text disable-output-escaping="yes"><!DOCTYPE html>
|
2017-01-03 19:22:54 +08:00
|
|
|
</xsl:text>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<xsl:text disable-output-escaping="yes">
|
|
|
|
|
|
|
|
<!-- DO NOT EDIT THIS FILE! It was generated automatically.
|
|
|
|
Edit the source file (news.xml) instead -->
|
|
|
|
|
|
|
|
</xsl:text>
|
|
|
|
<h1>Releases</h1>
|
|
|
|
<p>This is the list of official releases for libvirt, along with an
|
|
|
|
overview of the changes introduced by each of them.</p>
|
|
|
|
<p>For a more fine-grained view, use the
|
2017-10-13 23:30:41 +08:00
|
|
|
<a href="https://libvirt.org/git/?p=libvirt.git;a=log">git log</a>.
|
2017-01-03 19:22:54 +08:00
|
|
|
</p>
|
|
|
|
<xsl:apply-templates select="release"/>
|
|
|
|
<p>Older libvirt releases didn't have proper release notes,
|
|
|
|
and as such are not included in this page: if you're looking
|
|
|
|
for information about them, start from those made in
|
|
|
|
<a href="news-2016.html">2016</a> and work your way back.</p>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Release -->
|
|
|
|
<xsl:template match="release">
|
|
|
|
<h3>
|
2019-07-17 22:29:09 +08:00
|
|
|
<a>
|
|
|
|
<xsl:attribute name="id">
|
|
|
|
<xsl:value-of select="@version"/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<strong>
|
|
|
|
<xsl:value-of select="@version"/>
|
|
|
|
<xsl:text> (</xsl:text>
|
|
|
|
<xsl:value-of select="@date"/>
|
|
|
|
<xsl:text>)</xsl:text>
|
|
|
|
</strong>
|
|
|
|
</a>
|
2017-01-03 19:22:54 +08:00
|
|
|
</h3>
|
|
|
|
<ul>
|
|
|
|
<xsl:apply-templates select="section"/>
|
|
|
|
</ul>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Section -->
|
|
|
|
<xsl:template match="section">
|
|
|
|
<li>
|
|
|
|
<strong>
|
|
|
|
<xsl:value-of select="@title"/>
|
|
|
|
</strong>
|
2017-03-28 23:13:39 +08:00
|
|
|
<xsl:if test="*">
|
2019-06-21 16:01:00 +08:00
|
|
|
<ul class="news-section-content">
|
2017-03-28 23:13:39 +08:00
|
|
|
<xsl:apply-templates select="change"/>
|
|
|
|
</ul>
|
|
|
|
</xsl:if>
|
2017-01-03 19:22:54 +08:00
|
|
|
</li>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Change -->
|
|
|
|
<xsl:template match="change">
|
|
|
|
<li>
|
2019-06-21 16:01:00 +08:00
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<xsl:apply-templates select="summary"/>
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
<xsl:apply-templates select="description"/>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
2017-01-03 19:22:54 +08:00
|
|
|
</li>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Change summary -->
|
|
|
|
<xsl:template match="summary">
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- Change description -->
|
|
|
|
<xsl:template match="description">
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
</xsl:template>
|
|
|
|
|
2017-03-28 22:25:21 +08:00
|
|
|
<!-- <code> HTML tag -->
|
|
|
|
<xsl:template match="code">
|
|
|
|
<xsl:text disable-output-escaping="yes"><code></xsl:text>
|
2017-01-03 19:22:54 +08:00
|
|
|
<xsl:apply-templates/>
|
2017-03-28 22:25:21 +08:00
|
|
|
<xsl:text disable-output-escaping="yes"></code></xsl:text>
|
2017-01-03 19:22:54 +08:00
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|