2011-01-28 15:52:18 +03:00
<?xml version="1.0"?>
<xsl:stylesheet
2013-05-03 19:57:05 +04:00
xmlns="http://www.w3.org/1999/xhtml"
xmlns:html="http://www.w3.org/1999/xhtml"
2011-01-28 15:52:18 +03:00
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
2013-05-03 19:57:05 +04:00
exclude-result-prefixes="xsl exsl html"
2011-01-28 15:52:18 +03: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 18:18:58 +03:00
<xsl:param name= "pagesrc" />
2017-07-26 18:04:37 +03:00
<xsl:param name= "timestamp" />
2024-02-07 19:05:49 +03:00
<xsl:param name= "link_href_base" />
<xsl:param name= "asset_href_base" />
2017-07-26 20:01:25 +03:00
<xsl:text disable-output-escaping= "yes" > < !DOCTYPE html>
</xsl:text>
2024-02-29 15:06:31 +03:00
<html lang= "en" data-sourcedoc= "{$pagesrc}" >
2011-01-28 15:52:18 +03:00
<xsl:comment >
2020-08-04 16:33:15 +03:00
This file is autogenerated from <xsl:value-of select= "$pagesrc" />
2011-01-28 15:52:18 +03:00
Do not edit this file. Changes will be lost.
</xsl:comment>
2017-07-26 18:04:37 +03:00
<xsl:comment >
This page was generated at <xsl:value-of select= "$timestamp" /> .
</xsl:comment>
2011-01-28 15:52:18 +03:00
<head >
2017-07-26 20:20:26 +03:00
<meta charset= "UTF-8" />
2017-08-04 15:29:43 +03:00
<meta name= "viewport" content= "width=device-width, initial-scale=1" />
2024-02-07 19:05:49 +03:00
<link rel= "stylesheet" type= "text/css" href= "{$asset_href_base}css/main.css" />
2017-07-26 20:22:11 +03: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 17:58:56 +03:00
<title > libvirt: <xsl:value-of select= "html:html/html:body//html:h1" /> </title>
2011-01-28 15:52:18 +03:00
<meta name= "description" content= "libvirt, virtualization, virtualization API" />
2023-05-23 17:52:24 +03: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 13:54:03 +03:00
</xsl:if>
2017-08-04 15:29:43 +03:00
2024-02-29 15:32:59 +03:00
<!-- force non - empty script tag -->
<script src= "{$asset_href_base}js/main.js" >
<xsl:text > </xsl:text>
2017-08-04 15:29:43 +03:00
</script>
2011-01-28 15:52:18 +03:00
</head>
2019-04-05 15:59:31 +03:00
<body onload= "pageload()" >
2011-01-28 15:52:18 +03:00
<div id= "body" >
2020-11-04 18:27:32 +03:00
<xsl:choose >
2022-04-12 14:00:45 +03:00
<!-- docutils - 0.16 and older use a div as container for contents -->
2020-11-04 18:27:32 +03: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 14:00:45 +03: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 18:27:32 +03:00
</xsl:choose>
2011-01-28 15:52:18 +03:00
</div>
2016-10-25 17:16:29 +03:00
<div id= "nav" >
<div id= "home" >
2024-02-07 19:05:49 +03:00
<a href= "{$link_href_base}index.html" > Home</a>
2016-10-25 17:16:29 +03:00
</div>
2016-10-25 18:27:10 +03:00
<div id= "jumplinks" >
<ul >
2024-02-07 19:05:49 +03: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 18:27:10 +03:00
</ul>
</div>
2016-10-25 17:16:29 +03:00
<div id= "search" >
2023-12-04 14:09:32 +03:00
<form id= "simplesearch" action= "https://duckduckgo.com/" enctype= "application/x-www-form-urlencoded" method= "get" >
2019-04-05 18:49:05 +03:00
<div >
2023-12-04 14:09:32 +03:00
<input id= "searchsite" name= "sites" type= "hidden" value= "libvirt.org" />
2019-04-05 18:49:05 +03:00
<input id= "searchq" name= "q" type= "text" size= "12" value= "" />
<input name= "submit" type= "submit" value= "Go" />
</div>
2016-10-25 17:16:29 +03:00
</form>
2019-04-05 18:49:05 +03:00
<div id= "advancedsearch" >
2023-12-04 14:06:17 +03: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 18:49:05 +03: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 17:16:29 +03:00
</div>
</div>
2016-10-25 17:56:50 +03:00
<div id= "footer" >
<div id= "contact" >
<h3 > Contact</h3>
<ul >
2024-02-07 19:05:49 +03: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 17:56:50 +03:00
</ul>
</div>
<div id= "community" >
<h3 > Community</h3>
<ul >
2022-12-12 14:44:14 +03:00
<li > <a href= "https://fosstodon.org/tags/libvirt" > fosstodon</a> </li>
2020-08-26 01:44:00 +03: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 17:56:50 +03:00
</ul>
</div>
2020-08-03 17:38:31 +03: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 17:56:50 +03:00
<div id= "conduct" >
2024-02-07 19:05:49 +03: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 17:56:50 +03:00
</div>
<br class= "clear" />
</div>
2011-01-28 15:52:18 +03:00
</body>
</html>
</xsl:template>
2019-11-11 18:53:02 +03:00
<xsl:template match= "html:h1 | html:h2 | html:h3 | html:h4 | html:h5 | html:h6" mode= "content" >
2014-01-30 18:37:38 +04:00
<xsl:element name= "{name()}" >
2013-12-08 18:05:46 +04:00
<xsl:apply-templates mode= "copy" />
2017-07-26 17:52:42 +03:00
<xsl:if test= "./html:a/@id" >
2020-11-03 16:28:21 +03:00
<a class= "headerlink" href= "#{html:a/@id}" title= "Link to this headline" > ¶ </a>
2013-12-08 18:05:46 +04:00
</xsl:if>
2024-02-07 18:54:22 +03:00
<xsl:if test= "parent::html:section" >
<a class= "headerlink" href= "#{../@id}" title= "Link to this headline" > ¶ </a>
</xsl:if>
2020-10-26 15:44:19 +03:00
<xsl:if test= "parent::html:div[@class='section']" >
2020-11-03 16:28:21 +03:00
<a class= "headerlink" href= "#{../@id}" title= "Link to this headline" > ¶ </a>
2019-11-11 18:53:02 +03:00
</xsl:if>
2013-12-08 18:05:46 +04:00
</xsl:element>
</xsl:template>
2022-02-21 11:26:13 +03:00
<xsl:template match= "text()" mode= "copy" priority= "0" >
2013-12-08 18:05:46 +04:00
<xsl:value-of select= "." />
</xsl:template>
2022-02-21 11:26:13 +03:00
<xsl:template match= "*" mode= "copy" >
2014-01-30 18:37:38 +04:00
<xsl:element name= "{name()}" >
2013-12-08 18:05:46 +04:00
<xsl:copy-of select= "./@*" />
<xsl:apply-templates mode= "copy" />
</xsl:element>
</xsl:template>
2011-01-28 15:52:18 +03:00
</xsl:stylesheet>