2011-01-28 13:52:18 +01:00
<?xml version="1.0"?>
<xsl:stylesheet
2013-05-03 16:57:05 +01:00
xmlns="http://www.w3.org/1999/xhtml"
xmlns:html="http://www.w3.org/1999/xhtml"
2011-01-28 13:52:18 +01:00
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
2013-05-03 16:57:05 +01:00
exclude-result-prefixes="xsl exsl html"
2011-01-28 13:52:18 +01:00
version="1.0">
<xsl:template match= "node() | @*" mode= "content" >
<xsl:copy >
<xsl:apply-templates select= "node() | @*" mode= "content" />
</xsl:copy>
</xsl:template>
<!-- This is the master page structure -->
<xsl:template match= "/" mode= "page" >
2020-04-08 16:18:58 +01:00
<xsl:param name= "pagesrc" />
2017-07-26 17:04:37 +02:00
<xsl:param name= "timestamp" />
2024-02-07 17:05:49 +01:00
<xsl:param name= "link_href_base" />
<xsl:param name= "asset_href_base" />
2017-07-26 18:01:25 +01:00
<xsl:text disable-output-escaping= "yes" > < !DOCTYPE html>
</xsl:text>
2023-02-14 11:59:22 +01:00
<html data-sourcedoc= "{$pagesrc}" >
2011-01-28 13:52:18 +01:00
<xsl:comment >
2020-08-04 14:33:15 +01:00
This file is autogenerated from <xsl:value-of select= "$pagesrc" />
2011-01-28 13:52:18 +01:00
Do not edit this file. Changes will be lost.
</xsl:comment>
2017-07-26 17:04:37 +02:00
<xsl:comment >
This page was generated at <xsl:value-of select= "$timestamp" /> .
</xsl:comment>
2011-01-28 13:52:18 +01:00
<head >
2017-07-26 18:20:26 +01:00
<meta charset= "UTF-8" />
2017-08-04 13:29:43 +01:00
<meta name= "viewport" content= "width=device-width, initial-scale=1" />
2024-02-07 17:05:49 +01:00
<link rel= "stylesheet" type= "text/css" href= "{$asset_href_base}css/main.css" />
2017-07-26 18:22:11 +01:00
<link rel= "apple-touch-icon" sizes= "180x180" href= "/apple-touch-icon.png" />
<link rel= "icon" type= "image/png" sizes= "32x32" href= "/favicon-32x32.png" />
<link rel= "icon" type= "image/png" sizes= "16x16" href= "/favicon-16x16.png" />
<link rel= "manifest" href= "/manifest.json" />
<meta name= "theme-color" content= "#ffffff" />
2019-10-18 15:58:56 +01:00
<title > libvirt: <xsl:value-of select= "html:html/html:body//html:h1" /> </title>
2011-01-28 13:52:18 +01:00
<meta name= "description" content= "libvirt, virtualization, virtualization API" />
2023-05-23 16:52:24 +02:00
<xsl:if test= "/html:html/html:head/html:meta[@name='go-import']" >
<meta name= "go-import" content= "{/html:html/html:head/html:meta[@name='go-import']/@content}" />
2021-07-02 11:54:03 +01:00
</xsl:if>
2017-08-04 13:29:43 +01:00
2024-02-07 17:05:49 +01:00
<script type= "text/javascript" src= "{$asset_href_base}js/main.js" >
2019-04-05 13:59:31 +01:00
<xsl:comment > // forces non-empty element</xsl:comment>
2017-08-04 13:29:43 +01:00
</script>
2011-01-28 13:52:18 +01:00
</head>
2019-04-05 13:59:31 +01:00
<body onload= "pageload()" >
2011-01-28 13:52:18 +01:00
<div id= "body" >
2020-11-04 16:27:32 +01:00
<xsl:choose >
2022-04-12 13:00:45 +02:00
<!-- docutils - 0.16 and older use a div as container for contents -->
2020-11-04 16:27:32 +01:00
<xsl:when test= "html:html/html:body/html:div/@class='document'" >
<xsl:apply-templates select= "/html:html/html:body/*" mode= "content" />
</xsl:when>
2022-04-12 13:00:45 +02:00
<!-- docutils - 0.17 adopted use of the 'main' semantic container -->
<xsl:when test= "html:html/html:body/html:main" >
<xsl:apply-templates select= "/html:html/html:body/*" mode= "content" />
</xsl:when>
2020-11-04 16:27:32 +01:00
</xsl:choose>
2011-01-28 13:52:18 +01:00
</div>
2016-10-25 16:16:29 +02:00
<div id= "nav" >
<div id= "home" >
2024-02-07 17:05:49 +01:00
<a href= "{$link_href_base}index.html" > Home</a>
2016-10-25 16:16:29 +02:00
</div>
2016-10-25 17:27:10 +02:00
<div id= "jumplinks" >
<ul >
2024-02-07 17:05:49 +01:00
<li > <a href= "{$link_href_base}downloads.html" > Download</a> </li>
<li > <a href= "{$link_href_base}contribute.html" > Contribute</a> </li>
<li > <a href= "{$link_href_base}docs.html" > Docs</a> </li>
2016-10-25 17:27:10 +02:00
</ul>
</div>
2016-10-25 16:16:29 +02:00
<div id= "search" >
2023-12-04 12:09:32 +01:00
<form id= "simplesearch" action= "https://duckduckgo.com/" enctype= "application/x-www-form-urlencoded" method= "get" >
2019-04-05 16:49:05 +01:00
<div >
2023-12-04 12:09:32 +01:00
<input id= "searchsite" name= "sites" type= "hidden" value= "libvirt.org" />
2019-04-05 16:49:05 +01:00
<input id= "searchq" name= "q" type= "text" size= "12" value= "" />
<input name= "submit" type= "submit" value= "Go" />
</div>
2016-10-25 16:16:29 +02:00
</form>
2019-04-05 16:49:05 +01:00
<div id= "advancedsearch" >
2023-12-04 12:06:17 +01:00
<span > <input type= "radio" name= "what" id= "whatwebsite" checked= "checked" value= "website" /> <label for= "whatwebsite" > Website <i > (via DuckDuckGo)</i> </label> </span>
<span > <input type= "radio" name= "what" id= "whatwiki" value= "wiki" /> <label for= "whatwiki" > Wiki <i > (via DuckDuckGo)</i> </label> </span>
2019-04-05 16:49:05 +01:00
<span > <input type= "radio" name= "what" id= "whatdevs" value= "devs" /> <label for= "whatdevs" > Developers list</label> </span>
<span > <input type= "radio" name= "what" id= "whatusers" value= "users" /> <label for= "whatusers" > Users list</label> </span>
</div>
2016-10-25 16:16:29 +02:00
</div>
</div>
2016-10-25 16:56:50 +02:00
<div id= "footer" >
<div id= "contact" >
<h3 > Contact</h3>
<ul >
2024-02-07 17:05:49 +01:00
<li > <a href= "{$link_href_base}contact.html#mailing-lists" > email</a> </li>
<li > <a href= "{$link_href_base}contact.html#irc" > irc</a> </li>
2016-10-25 16:56:50 +02:00
</ul>
</div>
<div id= "community" >
<h3 > Community</h3>
<ul >
2022-12-12 11:44:14 +00:00
<li > <a href= "https://fosstodon.org/tags/libvirt" > fosstodon</a> </li>
2020-08-26 00:44:00 +02:00
<li > <a href= "https://stackoverflow.com/questions/tagged/libvirt" > stackoverflow</a> </li>
<li > <a href= "https://serverfault.com/questions/tagged/libvirt" > serverfault</a> </li>
2016-10-25 16:56:50 +02:00
</ul>
</div>
2020-08-03 16:38:31 +02:00
<xsl:if test= "$pagesrc != ''" >
<div id= "contribute" >
<h3 > Contribute</h3>
<ul >
<li > <a href= "https://gitlab.com/libvirt/libvirt/-/blob/master/{$pagesrc}" > edit this page</a> </li>
</ul>
</div>
</xsl:if>
2016-10-25 16:56:50 +02:00
<div id= "conduct" >
2024-02-07 17:05:49 +01:00
Participants in the libvirt project agree to abide by <a href= "{$link_href_base}governance.html#code-of-conduct" > the project code of conduct</a>
2016-10-25 16:56:50 +02:00
</div>
<br class= "clear" />
</div>
2011-01-28 13:52:18 +01:00
</body>
</html>
</xsl:template>
2019-11-11 15:53:02 +00:00
<xsl:template match= "html:h1 | html:h2 | html:h3 | html:h4 | html:h5 | html:h6" mode= "content" >
2014-01-30 15:37:38 +01:00
<xsl:element name= "{name()}" >
2013-12-08 14:05:46 +00:00
<xsl:apply-templates mode= "copy" />
2017-07-26 15:52:42 +01:00
<xsl:if test= "./html:a/@id" >
2020-11-03 14:28:21 +01:00
<a class= "headerlink" href= "#{html:a/@id}" title= "Link to this headline" > ¶ </a>
2013-12-08 14:05:46 +00:00
</xsl:if>
2024-02-07 16:54:22 +01:00
<xsl:if test= "parent::html:section" >
<a class= "headerlink" href= "#{../@id}" title= "Link to this headline" > ¶ </a>
</xsl:if>
2020-10-26 13:44:19 +01:00
<xsl:if test= "parent::html:div[@class='section']" >
2020-11-03 14:28:21 +01:00
<a class= "headerlink" href= "#{../@id}" title= "Link to this headline" > ¶ </a>
2019-11-11 15:53:02 +00:00
</xsl:if>
2013-12-08 14:05:46 +00:00
</xsl:element>
</xsl:template>
2022-02-21 09:26:13 +01:00
<xsl:template match= "text()" mode= "copy" priority= "0" >
2013-12-08 14:05:46 +00:00
<xsl:value-of select= "." />
</xsl:template>
2022-02-21 09:26:13 +01:00
<xsl:template match= "*" mode= "copy" >
2014-01-30 15:37:38 +01:00
<xsl:element name= "{name()}" >
2013-12-08 14:05:46 +00:00
<xsl:copy-of select= "./@*" />
<xsl:apply-templates mode= "copy" />
</xsl:element>
</xsl:template>
2011-01-28 13:52:18 +01:00
</xsl:stylesheet>