1
0
mirror of https://github.com/apache/httpd.git synced 2025-04-18 22:24:07 +03:00
apache/docs/manual/style/manual.en.xsl
Christophe Jaillet e0613b9841 Try to fix once and for all, our "en" html file generation issues with different Java version.
Switch "en" doc files to UTF-8.

We should also change "en.xml" with:
   <target-ext>.html.en.utf8</target-ext>
and run:
   ./build.sh bootstrap
   ./build.sh
to be consistent with other languages.

Before making a lot of noise, first give some time to see how this works in RL.

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878788 13f79535-47bb-0310-9956-ffa450edef68
2020-06-13 06:33:47 +00:00

37 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/en.xml')/language/messages/message"/>
<xsl:variable name="doclang">en</xsl:variable>
<xsl:variable name="allmodules" select="document('xsl/util/allmodules.xml')/items/item[@lang=$doclang]"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding">UTF-8</xsl:variable>
<xsl:variable name="is-chm" select="false()"/>
<xsl:variable name="is-zip" select="false()"/>
<xsl:variable name="is-retired" select="false()"/>
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
</xsl:stylesheet>