[PATCH 08/12] docs: switch to using HTML5 doctype declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The HTML5 doctype is simply

  <!DOCTYPE html>

no DTD is present because HTML5 is no longer defined as an
extension of SGML.

XSL has no way to natively output a doctype without a public
or system identifier, so we have to use an <xsl:text> hack
instead.

See also

  https://dev.w3.org/html5/html-author/#doctype-declaration

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 docs/404.html.in                     |  2 +-
 docs/acl.html.in                     |  2 +-
 docs/aclpolkit.html.in               |  2 +-
 docs/api.html.in                     |  2 +-
 docs/api_extension.html.in           |  2 +-
 docs/apps.html.in                    |  2 +-
 docs/architecture.html.in            |  2 +-
 docs/auditlog.html.in                |  2 +-
 docs/auth.html.in                    |  2 +-
 docs/bindings.html.in                |  2 +-
 docs/bugs.html.in                    |  2 +-
 docs/cgroups.html.in                 |  2 +-
 docs/compiling.html.in               |  2 +-
 docs/contact.html.in                 |  2 +-
 docs/contribute.html.in              |  2 +-
 docs/csharp.html.in                  |  2 +-
 docs/devguide.html.in                |  2 +-
 docs/docs.html.in                    |  2 +-
 docs/downloads.html.in               |  2 +-
 docs/drivers.html.in                 |  2 +-
 docs/drvbhyve.html.in                |  2 +-
 docs/drvesx.html.in                  |  2 +-
 docs/drvhyperv.html.in               |  2 +-
 docs/drvlxc.html.in                  |  2 +-
 docs/drvnodedev.html.in              |  2 +-
 docs/drvopenvz.html.in               |  2 +-
 docs/drvphyp.html.in                 |  2 +-
 docs/drvqemu.html.in                 |  2 +-
 docs/drvremote.html.in               |  2 +-
 docs/drvtest.html.in                 |  2 +-
 docs/drvuml.html.in                  |  2 +-
 docs/drvvbox.html.in                 |  2 +-
 docs/drvvirtuozzo.html.in            |  2 +-
 docs/drvvmware.html.in               |  2 +-
 docs/drvxen.html.in                  |  2 +-
 docs/errors.html.in                  |  2 +-
 docs/firewall.html.in                |  2 +-
 docs/format.html.in                  |  2 +-
 docs/formatcaps.html.in              |  2 +-
 docs/formatdomain.html.in            |  2 +-
 docs/formatdomaincaps.html.in        |  2 +-
 docs/formatnetwork.html.in           |  2 +-
 docs/formatnode.html.in              |  2 +-
 docs/formatnwfilter.html.in          |  2 +-
 docs/formatsecret.html.in            |  2 +-
 docs/formatsnapshot.html.in          |  2 +-
 docs/formatstorage.html.in           |  2 +-
 docs/formatstorageencryption.html.in |  2 +-
 docs/genaclperms.pl                  |  2 +-
 docs/goals.html.in                   |  2 +-
 docs/governance.html.in              |  2 +-
 docs/hacking.html.in                 |  2 +-
 docs/hooks.html.in                   |  2 +-
 docs/hvsupport.pl                    |  2 +-
 docs/index.html.in                   |  2 +-
 docs/internals.html.in               |  2 +-
 docs/internals/command.html.in       |  2 +-
 docs/internals/eventloop.html.in     |  2 +-
 docs/internals/locking.html.in       |  2 +-
 docs/internals/oomtesting.html.in    |  2 +-
 docs/internals/rpc.html.in           |  2 +-
 docs/java.html.in                    |  2 +-
 docs/locking-lockd.html.in           |  2 +-
 docs/locking-sanlock.html.in         |  2 +-
 docs/locking.html.in                 |  2 +-
 docs/logging.html.in                 |  2 +-
 docs/migration.html.in               |  2 +-
 docs/newapi.xsl                      | 17 +++++++----------
 docs/news-2005.html.in               |  2 +-
 docs/news-2006.html.in               |  2 +-
 docs/news-2007.html.in               |  2 +-
 docs/news-2008.html.in               |  2 +-
 docs/news-2009.html.in               |  2 +-
 docs/news-2010.html.in               |  2 +-
 docs/news-2011.html.in               |  2 +-
 docs/news-2012.html.in               |  2 +-
 docs/news-2013.html.in               |  2 +-
 docs/news-2014.html.in               |  2 +-
 docs/news-2015.html.in               |  2 +-
 docs/news-2016.html.in               |  2 +-
 docs/news-html.xsl                   |  2 +-
 docs/nss.html.in                     |  2 +-
 docs/page.xsl                        |  2 ++
 docs/php.html.in                     |  2 +-
 docs/python.html.in                  |  2 +-
 docs/remote.html.in                  |  2 +-
 docs/search.php.in                   |  2 +-
 docs/secureusage.html.in             |  2 +-
 docs/securityprocess.html.in         |  2 +-
 docs/site.xsl                        |  4 +---
 docs/storage.html.in                 |  2 +-
 docs/subsite.xsl                     |  4 +---
 docs/testapi.html.in                 |  2 +-
 docs/testsuites.html.in              |  2 +-
 docs/testtck.html.in                 |  2 +-
 docs/uri.html.in                     |  2 +-
 docs/virshcmdref.html.in             |  2 +-
 docs/windows.html.in                 |  2 +-
 98 files changed, 105 insertions(+), 110 deletions(-)

diff --git a/docs/404.html.in b/docs/404.html.in
index 8942864c2..bdffff601 100644
--- a/docs/404.html.in
+++ b/docs/404.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>404 page not found</h1>
diff --git a/docs/acl.html.in b/docs/acl.html.in
index 5936c6d20..31ca17021 100644
--- a/docs/acl.html.in
+++ b/docs/acl.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Client access control</h1>
diff --git a/docs/aclpolkit.html.in b/docs/aclpolkit.html.in
index d1f327c70..05e3b8815 100644
--- a/docs/aclpolkit.html.in
+++ b/docs/aclpolkit.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Polkit access control</h1>
diff --git a/docs/api.html.in b/docs/api.html.in
index 1cd166364..27abed673 100644
--- a/docs/api.html.in
+++ b/docs/api.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>The libvirt API concepts</h1>
diff --git a/docs/api_extension.html.in b/docs/api_extension.html.in
index fdc7eb296..3b37e7bec 100644
--- a/docs/api_extension.html.in
+++ b/docs/api_extension.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Implementing a new API in Libvirt</h1>
diff --git a/docs/apps.html.in b/docs/apps.html.in
index e54ab5372..2b91c4c03 100644
--- a/docs/apps.html.in
+++ b/docs/apps.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Applications using libvirt</h1>
diff --git a/docs/architecture.html.in b/docs/architecture.html.in
index 33a4ccb97..f1461ba88 100644
--- a/docs/architecture.html.in
+++ b/docs/architecture.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >libvirt architecture</h1>
diff --git a/docs/auditlog.html.in b/docs/auditlog.html.in
index 54da12b5c..9b5ef548c 100644
--- a/docs/auditlog.html.in
+++ b/docs/auditlog.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Audit log</h1>
diff --git a/docs/auth.html.in b/docs/auth.html.in
index 9c9afe7b4..afd6cd7f9 100644
--- a/docs/auth.html.in
+++ b/docs/auth.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Connection authentication</h1>
diff --git a/docs/bindings.html.in b/docs/bindings.html.in
index dc15576fd..203934b6a 100644
--- a/docs/bindings.html.in
+++ b/docs/bindings.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Bindings for other languages</h1>
diff --git a/docs/bugs.html.in b/docs/bugs.html.in
index 7ba8dd6a4..12a1090c1 100644
--- a/docs/bugs.html.in
+++ b/docs/bugs.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
 
diff --git a/docs/cgroups.html.in b/docs/cgroups.html.in
index ac6390960..e33d07a82 100644
--- a/docs/cgroups.html.in
+++ b/docs/cgroups.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Control Groups Resource Management</h1>
diff --git a/docs/compiling.html.in b/docs/compiling.html.in
index af22199ef..5bed7ae14 100644
--- a/docs/compiling.html.in
+++ b/docs/compiling.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1><a id="installation">libvirt Installation</a></h1>
diff --git a/docs/contact.html.in b/docs/contact.html.in
index 1f84527b2..7c2b71501 100644
--- a/docs/contact.html.in
+++ b/docs/contact.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Contacting the project contributors</h1>
diff --git a/docs/contribute.html.in b/docs/contribute.html.in
index c169b6700..158c91cb6 100644
--- a/docs/contribute.html.in
+++ b/docs/contribute.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Contributing to libvirt</h1>
diff --git a/docs/csharp.html.in b/docs/csharp.html.in
index 72746762a..2f85fd2b7 100644
--- a/docs/csharp.html.in
+++ b/docs/csharp.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>C# API bindings</h1>
diff --git a/docs/devguide.html.in b/docs/devguide.html.in
index 6b6cae272..b949f04a1 100644
--- a/docs/devguide.html.in
+++ b/docs/devguide.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt Application Development Guides</h1>
diff --git a/docs/docs.html.in b/docs/docs.html.in
index 60489a0a3..f23809840 100644
--- a/docs/docs.html.in
+++ b/docs/docs.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body class="docs">
     <div class="panel">
diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index 21d79df4e..94869c35c 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Downloads</h1>
diff --git a/docs/drivers.html.in b/docs/drivers.html.in
index 79b204d1a..c94144aa4 100644
--- a/docs/drivers.html.in
+++ b/docs/drivers.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Internal drivers</h1>
diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in
index 7b1829b65..1777abe2e 100644
--- a/docs/drvbhyve.html.in
+++ b/docs/drvbhyve.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Bhyve driver</h1>
diff --git a/docs/drvesx.html.in b/docs/drvesx.html.in
index d503d65b8..417aca4d7 100644
--- a/docs/drvesx.html.in
+++ b/docs/drvesx.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>VMware ESX hypervisor driver</h1>
diff --git a/docs/drvhyperv.html.in b/docs/drvhyperv.html.in
index ac2fa7017..78f61aaee 100644
--- a/docs/drvhyperv.html.in
+++ b/docs/drvhyperv.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Microsoft Hyper-V hypervisor driver</h1>
diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in
index 180dc6834..58a336ed3 100644
--- a/docs/drvlxc.html.in
+++ b/docs/drvlxc.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>LXC container driver</h1>
diff --git a/docs/drvnodedev.html.in b/docs/drvnodedev.html.in
index 439bbe7d0..885904d67 100644
--- a/docs/drvnodedev.html.in
+++ b/docs/drvnodedev.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Host device management</h1>
diff --git a/docs/drvopenvz.html.in b/docs/drvopenvz.html.in
index 30e0c6b7e..2dc53c134 100644
--- a/docs/drvopenvz.html.in
+++ b/docs/drvopenvz.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>OpenVZ container driver</h1>
diff --git a/docs/drvphyp.html.in b/docs/drvphyp.html.in
index c75a830c4..8e0b43c86 100644
--- a/docs/drvphyp.html.in
+++ b/docs/drvphyp.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>IBM PowerVM hypervisor driver (phyp)</h1>
diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in
index a2a830a23..a775f2979 100644
--- a/docs/drvqemu.html.in
+++ b/docs/drvqemu.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>KVM/QEMU hypervisor driver</h1>
diff --git a/docs/drvremote.html.in b/docs/drvremote.html.in
index c967324a4..224f1bfb1 100644
--- a/docs/drvremote.html.in
+++ b/docs/drvremote.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Remote management driver</h1>
diff --git a/docs/drvtest.html.in b/docs/drvtest.html.in
index ba5fc99ab..6884184e6 100644
--- a/docs/drvtest.html.in
+++ b/docs/drvtest.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Test "mock" driver</h1>
diff --git a/docs/drvuml.html.in b/docs/drvuml.html.in
index 832592024..0860db7dc 100644
--- a/docs/drvuml.html.in
+++ b/docs/drvuml.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>User Mode Linux driver</h1>
diff --git a/docs/drvvbox.html.in b/docs/drvvbox.html.in
index d6ed6aabf..63f166b24 100644
--- a/docs/drvvbox.html.in
+++ b/docs/drvvbox.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
     <body>
         <h1>VirtualBox hypervisor driver</h1>
diff --git a/docs/drvvirtuozzo.html.in b/docs/drvvirtuozzo.html.in
index 3c4a85fe0..8813d00ad 100644
--- a/docs/drvvirtuozzo.html.in
+++ b/docs/drvvirtuozzo.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virtuozzo driver</h1>
diff --git a/docs/drvvmware.html.in b/docs/drvvmware.html.in
index 45f6fe261..caa99e257 100644
--- a/docs/drvvmware.html.in
+++ b/docs/drvvmware.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
     <body>
         <h1>VMware Workstation / Player / Fusion hypervisors driver</h1>
diff --git a/docs/drvxen.html.in b/docs/drvxen.html.in
index 6af15f44b..d30ed2a04 100644
--- a/docs/drvxen.html.in
+++ b/docs/drvxen.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Xen hypervisor driver</h1>
diff --git a/docs/errors.html.in b/docs/errors.html.in
index 668d280c1..8f4f7d432 100644
--- a/docs/errors.html.in
+++ b/docs/errors.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Handling of errors</h1>
diff --git a/docs/firewall.html.in b/docs/firewall.html.in
index b21891ac9..11c3c8148 100644
--- a/docs/firewall.html.in
+++ b/docs/firewall.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Firewall and network filtering in libvirt</h1>
diff --git a/docs/format.html.in b/docs/format.html.in
index 41211a9c7..11e0defb5 100644
--- a/docs/format.html.in
+++ b/docs/format.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>XML Format</h1>
diff --git a/docs/formatcaps.html.in b/docs/formatcaps.html.in
index d224523ef..41a9a3a43 100644
--- a/docs/formatcaps.html.in
+++ b/docs/formatcaps.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Driver capabilities XML format</h1>
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 0ed12ecb0..515dea69d 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Domain XML format</h1>
diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
index 5e63fb7ca..6bfcaf61c 100644
--- a/docs/formatdomaincaps.html.in
+++ b/docs/formatdomaincaps.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Domain capabilities XML format</h1>
diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index 9c07e5e24..363a72bbc 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Network XML format</h1>
diff --git a/docs/formatnode.html.in b/docs/formatnode.html.in
index f82aecf3a..4d935b50f 100644
--- a/docs/formatnode.html.in
+++ b/docs/formatnode.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Node devices XML format</h1>
diff --git a/docs/formatnwfilter.html.in b/docs/formatnwfilter.html.in
index 5eb60e12c..b2282b7de 100644
--- a/docs/formatnwfilter.html.in
+++ b/docs/formatnwfilter.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Network Filters</h1>
diff --git a/docs/formatsecret.html.in b/docs/formatsecret.html.in
index 86b8de5b9..155b7c35d 100644
--- a/docs/formatsecret.html.in
+++ b/docs/formatsecret.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Secret XML format</h1>
diff --git a/docs/formatsnapshot.html.in b/docs/formatsnapshot.html.in
index 52682646b..fbbecfd24 100644
--- a/docs/formatsnapshot.html.in
+++ b/docs/formatsnapshot.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Snapshot XML format</h1>
diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
index c6eab0278..ab2fa8611 100644
--- a/docs/formatstorage.html.in
+++ b/docs/formatstorage.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Storage pool and volume XML format</h1>
diff --git a/docs/formatstorageencryption.html.in b/docs/formatstorageencryption.html.in
index ba19e268a..c4b209527 100644
--- a/docs/formatstorageencryption.html.in
+++ b/docs/formatstorageencryption.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Storage volume encryption XML format</h1>
diff --git a/docs/genaclperms.pl b/docs/genaclperms.pl
index 244a68e60..c0514a022 100755
--- a/docs/genaclperms.pl
+++ b/docs/genaclperms.pl
@@ -74,7 +74,7 @@ while (<>) {
 
 print <<EOF;
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
 EOF
diff --git a/docs/goals.html.in b/docs/goals.html.in
index 60b6c44d1..39d5e7535 100644
--- a/docs/goals.html.in
+++ b/docs/goals.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Terminology and goals</h1>
diff --git a/docs/governance.html.in b/docs/governance.html.in
index 81c093bbd..df5999c0f 100644
--- a/docs/governance.html.in
+++ b/docs/governance.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Project governance</h1>
diff --git a/docs/hacking.html.in b/docs/hacking.html.in
index efd053d16..c33a27c23 100644
--- a/docs/hacking.html.in
+++ b/docs/hacking.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Contributor guidelines</h1>
diff --git a/docs/hooks.html.in b/docs/hooks.html.in
index 6cc47a6c5..05156c30c 100644
--- a/docs/hooks.html.in
+++ b/docs/hooks.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Hooks for specific system management</h1>
diff --git a/docs/hvsupport.pl b/docs/hvsupport.pl
index 4c70efc16..edbe19faf 100755
--- a/docs/hvsupport.pl
+++ b/docs/hvsupport.pl
@@ -332,7 +332,7 @@ foreach my $drv (keys %{$groups{"virHypervisorDriver"}->{drivers}}) {
 
 print <<EOF;
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
 <body class="hvsupport">
 <h1>libvirt API support matrix</h1>
diff --git a/docs/index.html.in b/docs/index.html.in
index 31bd6e0f1..200f8eb10 100644
--- a/docs/index.html.in
+++ b/docs/index.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
diff --git a/docs/internals.html.in b/docs/internals.html.in
index fcc07580d..3a96ff73b 100644
--- a/docs/internals.html.in
+++ b/docs/internals.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt internals</h1>
diff --git a/docs/internals/command.html.in b/docs/internals/command.html.in
index e21b12e53..43f51a49b 100644
--- a/docs/internals/command.html.in
+++ b/docs/internals/command.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Spawning processes / commands from libvirt drivers</h1>
diff --git a/docs/internals/eventloop.html.in b/docs/internals/eventloop.html.in
index fe7bf3aaf..2d99f5947 100644
--- a/docs/internals/eventloop.html.in
+++ b/docs/internals/eventloop.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Libvirt's event loop</h1>
diff --git a/docs/internals/locking.html.in b/docs/internals/locking.html.in
index 4222c44d3..d10efdf26 100644
--- a/docs/internals/locking.html.in
+++ b/docs/internals/locking.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Resource Lock Manager</h1>
diff --git a/docs/internals/oomtesting.html.in b/docs/internals/oomtesting.html.in
index aca8fde13..72d0f2c6f 100644
--- a/docs/internals/oomtesting.html.in
+++ b/docs/internals/oomtesting.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Out of memory testing</h1>
diff --git a/docs/internals/rpc.html.in b/docs/internals/rpc.html.in
index 98f8be07b..45c07cb61 100644
--- a/docs/internals/rpc.html.in
+++ b/docs/internals/rpc.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt RPC infrastructure</h1>
diff --git a/docs/java.html.in b/docs/java.html.in
index 659c0b90f..06cf7034f 100644
--- a/docs/java.html.in
+++ b/docs/java.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Java API bindings</h1>
diff --git a/docs/locking-lockd.html.in b/docs/locking-lockd.html.in
index 42fcf0e68..855404ac9 100644
--- a/docs/locking-lockd.html.in
+++ b/docs/locking-lockd.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virtual machine lock manager, virtlockd plugin</h1>
diff --git a/docs/locking-sanlock.html.in b/docs/locking-sanlock.html.in
index 08182065d..9b3656189 100644
--- a/docs/locking-sanlock.html.in
+++ b/docs/locking-sanlock.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virtual machine lock manager, sanlock plugin</h1>
diff --git a/docs/locking.html.in b/docs/locking.html.in
index f0e0a3868..4532dbddf 100644
--- a/docs/locking.html.in
+++ b/docs/locking.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virtual machine lock manager</h1>
diff --git a/docs/logging.html.in b/docs/logging.html.in
index 534afa1cd..abedc1784 100644
--- a/docs/logging.html.in
+++ b/docs/logging.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Logging in the library and the daemon</h1>
diff --git a/docs/migration.html.in b/docs/migration.html.in
index d82fb54b4..de7d4def7 100644
--- a/docs/migration.html.in
+++ b/docs/migration.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Guest migration</h1>
diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index 9dd961507..a55736d32 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -17,10 +17,7 @@
   <!-- Import the main part of the site stylesheets -->
   <xsl:import href="page.xsl"/>
 
-  <!-- Generate XHTML-1.0 transitional -->
-  <xsl:output method="xml" encoding="UTF-8" indent="yes"
-      doctype-public="-//W3C//DTD XHTML 1.0//EN"
-      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+  <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
 
   <!-- Build keys for all symbols -->
   <xsl:key name="symbols" match="/api/symbols/*" use="@name"/>
@@ -737,6 +734,8 @@
   <xsl:template match="file">
     <xsl:variable name="name" select="@name"/>
     <xsl:variable name="title">Module <xsl:value-of select="$name"/> from <xsl:value-of select="/api/@name"/></xsl:variable>
+    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;
+</xsl:text>
     <html>
       <body>
         <h1><xsl:value-of select="$title"/></h1>
@@ -794,6 +793,8 @@
 
   <xsl:template name="mainpage">
     <xsl:variable name="title">Reference Manual for <xsl:value-of select="/api/@name"/></xsl:variable>
+    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;
+</xsl:text>
     <html>
       <body>
         <h1><xsl:value-of select="$title"/></h1>
@@ -813,9 +814,7 @@
     <xsl:document
       href="{concat($htmldir, '/index.html')}"
       method="xml"
-      encoding="UTF-8"
-      doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
-      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+      encoding="UTF-8">
       <xsl:apply-templates select="exsl:node-set($mainpage)" mode="page">
         <xsl:with-param name="pagename" select="concat($htmldir, '/index.html')"/>
       </xsl:apply-templates>
@@ -829,9 +828,7 @@
       <xsl:document
         href="{concat($htmldir, '/libvirt-', @name, '.html')}"
         method="xml"
-        encoding="UTF-8"
-        doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
-        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+        encoding="UTF-8">
         <xsl:apply-templates select="exsl:node-set($subpage)" mode="page">
           <xsl:with-param name="pagename" select="concat($htmldir, '/libvirt-', @name, '.html')"/>
         </xsl:apply-templates>
diff --git a/docs/news-2005.html.in b/docs/news-2005.html.in
index 97a43c602..6804cf2c9 100644
--- a/docs/news-2005.html.in
+++ b/docs/news-2005.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2006.html.in b/docs/news-2006.html.in
index df29a060f..558f55a98 100644
--- a/docs/news-2006.html.in
+++ b/docs/news-2006.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2007.html.in b/docs/news-2007.html.in
index 8b089634c..46d8457cb 100644
--- a/docs/news-2007.html.in
+++ b/docs/news-2007.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2008.html.in b/docs/news-2008.html.in
index 16ee9b13a..8081b82f1 100644
--- a/docs/news-2008.html.in
+++ b/docs/news-2008.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2009.html.in b/docs/news-2009.html.in
index c0b48ae33..06c279f11 100644
--- a/docs/news-2009.html.in
+++ b/docs/news-2009.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2010.html.in b/docs/news-2010.html.in
index 0fd8860b8..201351d4e 100644
--- a/docs/news-2010.html.in
+++ b/docs/news-2010.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2011.html.in b/docs/news-2011.html.in
index 5dacb5c51..0858dfff3 100644
--- a/docs/news-2011.html.in
+++ b/docs/news-2011.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2012.html.in b/docs/news-2012.html.in
index a198d3c80..7dab50963 100644
--- a/docs/news-2012.html.in
+++ b/docs/news-2012.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2013.html.in b/docs/news-2013.html.in
index 62b75a503..02b387624 100644
--- a/docs/news-2013.html.in
+++ b/docs/news-2013.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2014.html.in b/docs/news-2014.html.in
index 5480d5df2..8dfca9012 100644
--- a/docs/news-2014.html.in
+++ b/docs/news-2014.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2015.html.in b/docs/news-2015.html.in
index a0ef5ccf8..cd3b638a9 100644
--- a/docs/news-2015.html.in
+++ b/docs/news-2015.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-2016.html.in b/docs/news-2016.html.in
index deeee4d99..3b804fc1a 100644
--- a/docs/news-2016.html.in
+++ b/docs/news-2016.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/docs/news-html.xsl b/docs/news-html.xsl
index dd323f9b3..5baabc695 100644
--- a/docs/news-html.xsl
+++ b/docs/news-html.xsl
@@ -8,7 +8,7 @@
 
   <!-- Document -->
   <xsl:template match="/libvirt">
-    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
+    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;
 </xsl:text>
     <html xmlns="http://www.w3.org/1999/xhtml";>
       <head>
diff --git a/docs/nss.html.in b/docs/nss.html.in
index 369c9ff61..4b11bf0c7 100644
--- a/docs/nss.html.in
+++ b/docs/nss.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Libvirt NSS module</h1>
diff --git a/docs/page.xsl b/docs/page.xsl
index 57f85e618..4d49be085 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -75,6 +75,8 @@
   <!-- This is the master page structure -->
   <xsl:template match="/" mode="page">
     <xsl:param name="pagename"/>
+    <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html&gt;
+</xsl:text>
     <html>
       <xsl:comment>
         This file is autogenerated from <xsl:value-of select="$pagename"/>.in
diff --git a/docs/php.html.in b/docs/php.html.in
index c10b0aa47..b2a372d48 100644
--- a/docs/php.html.in
+++ b/docs/php.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>PHP API bindings</h1>
diff --git a/docs/python.html.in b/docs/python.html.in
index 36517fec7..e6e8cfade 100644
--- a/docs/python.html.in
+++ b/docs/python.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Python API bindings</h1>
diff --git a/docs/remote.html.in b/docs/remote.html.in
index 47e95400b..9bafd9de6 100644
--- a/docs/remote.html.in
+++ b/docs/remote.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Remote support</h1>
diff --git a/docs/search.php.in b/docs/search.php.in
index 9157223e1..5de4fcee6 100644
--- a/docs/search.php.in
+++ b/docs/search.php.in
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Search the documentation on Libvirt.org</h1>
diff --git a/docs/secureusage.html.in b/docs/secureusage.html.in
index 6a9490bac..c60187fab 100644
--- a/docs/secureusage.html.in
+++ b/docs/secureusage.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
 
diff --git a/docs/securityprocess.html.in b/docs/securityprocess.html.in
index d37276d15..1cf51b005 100644
--- a/docs/securityprocess.html.in
+++ b/docs/securityprocess.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
 
diff --git a/docs/site.xsl b/docs/site.xsl
index ce354c32f..68841255c 100644
--- a/docs/site.xsl
+++ b/docs/site.xsl
@@ -11,9 +11,7 @@
   <xsl:output
     method="xml"
     encoding="UTF-8"
-    indent="yes"
-    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+    indent="yes"/>
 
   <xsl:variable name="href_base">
     <xsl:choose>
diff --git a/docs/storage.html.in b/docs/storage.html.in
index aad5751ef..3f1aec1ea 100644
--- a/docs/storage.html.in
+++ b/docs/storage.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Storage Management</h1>
diff --git a/docs/subsite.xsl b/docs/subsite.xsl
index 108d0d83e..b1b78beb6 100644
--- a/docs/subsite.xsl
+++ b/docs/subsite.xsl
@@ -10,9 +10,7 @@
   <xsl:output
     method="xml"
     encoding="UTF-8"
-    indent="yes"
-    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+    indent="yes"/>
 
   <xsl:variable name="href_base" select="'../'"/>
 
diff --git a/docs/testapi.html.in b/docs/testapi.html.in
index cf2327119..79ecd73ee 100644
--- a/docs/testapi.html.in
+++ b/docs/testapi.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt-test-API:  Python based test suite </h1>
diff --git a/docs/testsuites.html.in b/docs/testsuites.html.in
index 9a382cf62..eeb0e8e19 100644
--- a/docs/testsuites.html.in
+++ b/docs/testsuites.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Test suites</h1>
diff --git a/docs/testtck.html.in b/docs/testtck.html.in
index dff46d0b6..458dcb3a0 100644
--- a/docs/testtck.html.in
+++ b/docs/testtck.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>libvirt TCK  : Technology Compatibility Kit</h1>
diff --git a/docs/uri.html.in b/docs/uri.html.in
index defb9eec2..ade726089 100644
--- a/docs/uri.html.in
+++ b/docs/uri.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Connection URIs</h1>
diff --git a/docs/virshcmdref.html.in b/docs/virshcmdref.html.in
index 9cd1efecd..1ca689a3d 100644
--- a/docs/virshcmdref.html.in
+++ b/docs/virshcmdref.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1>Virsh Command Reference</h1>
diff --git a/docs/windows.html.in b/docs/windows.html.in
index 708bb1b18..16c1aee61 100644
--- a/docs/windows.html.in
+++ b/docs/windows.html.in
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <body>
     <h1 >Windows support</h1>
-- 
2.13.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux