</xmlvalidate>
</target>
-</project>
+</project>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="ISO-8859-1" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="ISO-8859-1" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/da.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="ISO-8859-1" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="ISO-8859-1" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/de.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/en.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="ISO-8859-1" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="ISO-8859-1" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/es.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/fr.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/ja.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="EUC-KR" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="EUC-KR" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/ko.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/pt-br.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/ru.xml')/language/messages/message"/>
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/tr.xml')/language/messages/message"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+<xsl:output method="html" encoding="UTF-8" indent="no" doctype-system="about:legacy-compat"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/zh-cn.xml')/language/messages/message"/>
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- -->
<!-- Please, don't hard-code output strings! Use the language -->
<xsl:template name="head">
<head>
&lf;
- <meta http-equiv="Content-Type"
- content="text/html; charset={$output-encoding}" />&lf;
<meta name="viewport" content="width=device-width, initial-scale=1" />&lf;
<xsl:if test="not($is-chm or $is-zip)">
<xsl:comment>
rel="stylesheet"
href="{$path}/style/css/manual-print.css"/>
<link href="{$path}/style/css/prettify.css" type="text/css" rel="stylesheet" />&lf;
- <script type="text/javascript" src="{$path}/style/scripts/prettify.min.js">&lf;</script>&lf;
+ <script src="{$path}/style/scripts/prettify.min.js">&lf;</script>&lf;
<!-- chm files do not need a favicon -->
<xsl:if test="not($is-chm or $is-zip)">&lf;
<link rel="shortcut icon" href="{$path}/images/favicon.png" />
</div> <!-- /footer -->
-<script type="text/javascript">
+<script>
<xsl:text disable-output-escaping="yes"><![CDATA[<!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
<h2>
<xsl:choose>
<xsl:when test="@id">
- <a id="{@id}" name="{@id}">
- <xsl:apply-templates select="title" mode="print" />
- </a>
+ <xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
+ <xsl:apply-templates select="title" mode="print" />
<xsl:text> </xsl:text>
<a class="permalink" href="#{@id}" title="{$message[@id='permalink']}">¶</a>
</xsl:when>
<h3>
<xsl:choose>
<xsl:when test="@id">
- <a id="{@id}" name="{@id}">
- <xsl:apply-templates select="title" mode="print" />
- </a>
+ <xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
+ <xsl:apply-templates select="title" mode="print" />
</xsl:when>
<xsl:otherwise>
<h4>
<xsl:choose>
<xsl:when test="@id">
- <a id="{@id}" name="{@id}">
- <xsl:apply-templates select="title" mode="print" />
- </a>
+ <xsl:attribute name="id"><xsl:value-of select="@id" /></xsl:attribute>
+ <xsl:apply-templates select="title" mode="print" />
</xsl:when>
<xsl:otherwise>
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<xsl:output method="text" encoding="utf-8" indent="no" />
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <directiveindex> -->
<!-- Builds the directive index page -->
<!-- ==================================================================== -->
<xsl:template match="directiveindex">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="directive-index">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <faq> -->
<!-- Process an entire document into an HTML page -->
<!-- ==================================================================== -->
<xsl:template match="faq">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="manual-page">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- -->
<!-- Three columns, select where the particular categories shall be -->
<!-- Process an entire document into an HTML page -->
<!-- ==================================================================== -->
<xsl:template match="/indexpage">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="index-page">&lf;
<xsl:attribute name="method">
<xsl:choose>
<xsl:when test="$type = 'manual' or
- $type = 'chm' or
$type = 'zip'">
+ <xsl:text>html</xsl:text>
+ </xsl:when>
+ <xsl:when test="$type = 'chm'">
<xsl:text>xml</xsl:text>
</xsl:when>
<xsl:when test="$type = 'hhc' or
</xsl:attribute>
<xsl:attribute name="indent">no</xsl:attribute>
<xsl:if test="$type = 'manual' or
- $type = 'chm' or
$type = 'zip'">
- <xsl:attribute name="doctype-public">
- <xsl:text>-//W3C//DTD XHTML 1.0 Strict//EN</xsl:text>
- </xsl:attribute>
+ <xsl:attribute name="doctype-system">about:legacy-compat</xsl:attribute>
</xsl:if>
- <xsl:if test="$type = 'manual'">
- <xsl:attribute name="doctype-system">
- <xsl:text>http://www.w3.org/TR/xhtml1/DTD/</xsl:text>
- <xsl:text>xhtml1-strict.dtd</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$type = 'chm' or
- $type = 'zip'">
+ <xsl:if test="$type = 'chm'">
<xsl:attribute name="omit-xml-declaration">yes</xsl:attribute>
</xsl:if>
</xsl:element>
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- Shoud have encoding="ISO-8859-1" but works better without -->
<xsl:output method="text" indent="no" />
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <manualpage> -->
<!-- Process an entire document into an HTML page -->
<!-- ==================================================================== -->
<xsl:template match="manualpage">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head" />&lf;
<body id="manual-page">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <moduleindex> -->
<!-- Builds the moduleindex page -->
<!-- ==================================================================== -->
<xsl:template match="moduleindex">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="module-index">
xmlns:httpd="http://httpd.apache.org/xsl/manual"
xmlns:set="http://exslt.org/sets"
xmlns:str="http://exslt.org/strings"
- xmlns="http://www.w3.org/1999/xhtml"
+ xmlns=""
exclude-result-prefixes="exslt func httpd set str">
<!-- ======================================================================= -->
<!-- Builds the .htaccess overridable directive index -->
<!-- ======================================================================= -->
<xsl:template match="overrideindex">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<xsl:variable name="directives"
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <quickreference> -->
<!-- Builds the directive quickreference page -->
<!-- ==================================================================== -->
<xsl:template match="quickreference">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="directive-index">&lf;
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <sitemap> -->
<!-- Process an entire document into an HTML page -->
<!-- ==================================================================== -->
<xsl:template match="/sitemap">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head" />&lf;
<body id="manual-page">&lf;
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns="">
<!-- ==================================================================== -->
<!-- <modulesynopsis> -->
<!-- Process an entire document into an HTML page -->
<!-- ==================================================================== -->
<xsl:template match="modulesynopsis">
-<html xml:lang="{$doclang}" lang="{$doclang}">
+<html lang="{$doclang}">
<xsl:call-template name="head" />&lf;
<body>&lf;
<!-- Directive heading gets both mixed case and lowercase -->
<!-- anchors, and includes lt/gt only for "section" directives -->
<h2>
+ <xsl:attribute name="id"><xsl:value-of select="$lowername" /></xsl:attribute>
<xsl:choose>
<xsl:when test="$message
[@id='directive']/@before-name = 'yes'">
- <a id="{$lowername}" name="{$lowername}">
- <xsl:value-of select="$message[@id='directive']" />
- </a>
+ <xsl:value-of select="$message[@id='directive']" />
<xsl:choose>
<xsl:when test="$message
</xsl:otherwise>
</xsl:choose>
- <a id="{$directivename}" name="{$directivename}">
+ <span id="{$directivename}">
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="name" />
<xsl:if test="@type='section'">></xsl:if>
- </a>
+ </span>
</xsl:when>
<xsl:otherwise>
- <a id="{$directivename}" name="{$directivename}">
+ <span id="{$directivename}">
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="name" />
<xsl:if test="@type='section'">></xsl:if>
- </a>
+ </span>
<xsl:choose>
<xsl:when test="$message
</xsl:otherwise>
</xsl:choose>
- <a id="{$lowername}" name="{$lowername}">
- <xsl:value-of select="$message[@id='directive']" />
- </a>
+ <xsl:value-of select="$message[@id='directive']" />
</xsl:otherwise>
</xsl:choose>
<xsl:text> </xsl:text>