diff options
34 files changed, 255 insertions, 1974 deletions
diff --git a/docs/manual/style/.cvsignore b/docs/manual/style/.cvsignore new file mode 100644 index 0000000000..36e264cf44 --- /dev/null +++ b/docs/manual/style/.cvsignore @@ -0,0 +1 @@ +_generated diff --git a/docs/manual/style/chm/chm.de.xsl b/docs/manual/style/chm/chm.de.xsl deleted file mode 100644 index 74ce273302..0000000000 --- a/docs/manual/style/chm/chm.de.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="windows-1252" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/de.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="is-chm" select="true()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/chm.en.xsl b/docs/manual/style/chm/chm.en.xsl deleted file mode 100644 index 398000beba..0000000000 --- a/docs/manual/style/chm/chm.en.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="windows-1252" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/en.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="is-chm" select="true()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/chm.es.xsl b/docs/manual/style/chm/chm.es.xsl deleted file mode 100644 index c7d400e71f..0000000000 --- a/docs/manual/style/chm/chm.es.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="windows-1252" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/es.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="is-chm" select="true()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/chm.ja.xsl b/docs/manual/style/chm/chm.ja.xsl deleted file mode 100644 index 1629f1e235..0000000000 --- a/docs/manual/style/chm/chm.ja.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="SHIFT_JIS" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ja.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'SHIFT_JIS'" /> -<xsl:variable name="is-chm" select="true()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/chm.ko.xsl b/docs/manual/style/chm/chm.ko.xsl deleted file mode 100644 index 66cdb0c032..0000000000 --- a/docs/manual/style/chm/chm.ko.xsl +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- English Revision: 1.5 --> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="EUC-KR" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ko.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'EUC-KR'" /> -<xsl:variable name="is-chm" select="true()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/hhc.de.xsl b/docs/manual/style/chm/hhc.de.xsl deleted file mode 100644 index aec7de0e76..0000000000 --- a/docs/manual/style/chm/hhc.de.xsl +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/de.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="toc-font" select="',8,0'" /> <!-- MS magic ... --> -<xsl:variable name="xml-ext" select="'.xml.de'" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhc.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhc.en.xsl b/docs/manual/style/chm/hhc.en.xsl deleted file mode 100644 index 5180fb081d..0000000000 --- a/docs/manual/style/chm/hhc.en.xsl +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/en.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="toc-font" select="',8,0'" /> <!-- MS magic ... --> -<xsl:variable name="xml-ext" select="'.xml'" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhc.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhc.es.xsl b/docs/manual/style/chm/hhc.es.xsl deleted file mode 100644 index 1bd53af2e5..0000000000 --- a/docs/manual/style/chm/hhc.es.xsl +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/es.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'windows-1252'" /> -<xsl:variable name="toc-font" select="',8,0'" /> <!-- MS magic ... --> -<xsl:variable name="xml-ext" select="'.xml.es'" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhc.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhc.ja.xsl b/docs/manual/style/chm/hhc.ja.xsl deleted file mode 100644 index e0a48f386e..0000000000 --- a/docs/manual/style/chm/hhc.ja.xsl +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="SHIFT_JIS" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ja.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'SHIFT_JIS'" /> -<xsl:variable name="toc-font" select="'MS UI Gothic,10,128'" /> <!-- MS magic ... --> -<xsl:variable name="xml-ext" select="'.xml.ja'" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhc.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhc.ko.xsl b/docs/manual/style/chm/hhc.ko.xsl deleted file mode 100644 index 45b3852085..0000000000 --- a/docs/manual/style/chm/hhc.ko.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- English Revision: 1.3 --> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="EUC-KR" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ko.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'EUC-KR'" /> -<xsl:variable name="toc-font" select="'Gulim,9,129'" /> <!-- MS magic ... --> -<xsl:variable name="xml-ext" select="'.xml.ko'" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhc.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhc.xsl b/docs/manual/style/chm/hhc.xsl deleted file mode 100644 index 1be0153dd4..0000000000 --- a/docs/manual/style/chm/hhc.xsl +++ /dev/null @@ -1,666 +0,0 @@ -<?xml version="1.0"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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. ---> - -<!DOCTYPE xsl:stylesheet [ - <!ENTITY lf SYSTEM "../xsl/util/lf.xml"> - <!ENTITY tab SYSTEM "../xsl/util/tab.xml"> - - <!ENTITY ul.start SYSTEM "../xsl/util/ul-start.xml"> - <!ENTITY ul.end SYSTEM "../xsl/util/ul-end.xml" > - <!ENTITY li.start SYSTEM "../xsl/util/li-start.xml"> - <!ENTITY li.end SYSTEM "../xsl/util/li-end.xml" > -]> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns=""> - -<!-- --> -<!-- WARNING! Do not touch anything, especially the whitespaces [1] --> -<!-- unless you know, what you're doing. The HTML help compiler parses --> -<!-- the TOC file not really as html instead of line by line and takes --> -<!-- care of whitespace indentations etc. --> -<!-- --> -<!-- [1] Covered by the &lf; and &tab; entities. --> -<!-- --> -<!-- You have been warned. --> -<!-- --> - -<!-- create nodeset for referencing later --> -<xsl:variable name="not-exists" select="document('')/xsl:stylesheet/xsl:template - [@name='data']/not-exists/file" /> - -<xsl:template name="data"> -<!-- documents not converted (yet?). --> -<not-exists> -<!-- example: <file>developer/API.xml</file> --> -</not-exists> -</xsl:template> - -<!-- Constants used for case translation --> -<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" /> -<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" /> - -<!-- document() works relative to the xsl (!) file --> -<xsl:variable name="basedir" select="'../../'"/> - -<!-- icons --> -<xsl:variable name="icon.document" select="'11'" /> -<xsl:variable name="icon.document.not-translated" select="'12'" /> -<xsl:variable name="icon.section" select="'35'" /> -<xsl:variable name="icon.directive" select="'41'" /> -<xsl:variable name="icon.commondirective" select="'19'" /> -<!-- this should not happen. this icon is only displayed within the - toc view of the help workshop (it's a question mark): --> -<xsl:variable name="icon.no-anchor" select="'9'" /> - -<!-- for module-translatename --> -<xsl:include href="../xsl/util/modtrans.xsl"/> - -<!-- ==================================================================== --> -<!-- <sitemap> --> -<!-- Create CHM contents file (toc) from sitemap --> -<!-- The file is an html style text file (see warning on top) --> -<!-- ==================================================================== --> -<xsl:template match="/sitemap"> - -<!-- html head --> -<xsl:text><html><head></xsl:text> -<xsl:text><title>Apache HTTP Server Documentation</title></xsl:text> -<xsl:text></head></xsl:text>&lf; - -<xsl:text><body></xsl:text>&lf; - -<!-- toc properties first --> -<xsl:text><object type="text/site properties"></xsl:text>&lf;&tab; -<!-- XXX: that magic value is still obfuscated. Research needed ... --> -<xsl:text><param name="Window Styles" value="0x800027"></xsl:text>&lf;&tab; -<xsl:text><param name="Font" value="</xsl:text> - <xsl:value-of select="$toc-font" /> -<xsl:text>"></xsl:text>&lf; -<xsl:text></object></xsl:text>&lf; - -&ul.start; &lf; - - <!-- index page on top. --> - &li.start; - <xsl:call-template name="object"> - <xsl:with-param name="name" - select="$messages/message[@name='apachehttpserver']" /> - <xsl:with-param name="href" select="'index.html'" /> - <xsl:with-param name="indent" select="'		'" /> - </xsl:call-template> - &li.end; &lf; - - <!-- iterate over the categories in document order --> - <xsl:for-each select="category"> - &li.start; - <xsl:call-template name="folder"> - <xsl:with-param name="name" select="normalize-space(title)" /> - </xsl:call-template>&lf;&tab; - - &ul.start; &lf;&tab; - <xsl:apply-templates select="page" /> - <xsl:apply-templates select="modulefilelist" /> - &ul.end; &lf; - &li.end; &lf;&tab; - </xsl:for-each>&lf; - -&ul.end; &lf; - -<xsl:text></body></html></xsl:text>&lf; -</xsl:template> -<!-- /sitemap --> - - -<!-- ==================================================================== --> -<!-- category/page --> -<!-- ==================================================================== --> -<xsl:template match="category/page"> -&li.start; - -<!-- document entry, if not href attribute, assume it means "sitemap" --> -<xsl:call-template name="object"> - <xsl:with-param name="name"> - <xsl:choose> - <xsl:when test="@href"> - <xsl:value-of select="normalize-space(.)" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="normalize-space($messages/message - [@name='sitemap'])" /> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="href"> - <xsl:choose> - <xsl:when test="not(@href)"> - <xsl:text>sitemap.html</xsl:text> - </xsl:when> - <xsl:when test="contains(@href, '#')"> - <xsl:value-of select="substring-before(@href, '#')" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@href"/> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="indent" select="'		'" /> -</xsl:call-template> - -<!-- now try to index the sections of the document --> -<xsl:apply-templates select="self::page" mode="index" /> - -&li.end; &lf;&tab; -</xsl:template> -<!-- /category/page --> - - -<!-- ==================================================================== --> -<!-- category/page, mode="index" --> -<!-- display all section headings of one page --> -<!-- ==================================================================== --> -<xsl:template match="category/page" mode="index"> -<xsl:variable name="href.offline"> - <xsl:choose> - <xsl:when test="string-length(@href) = 0"> - <xsl:text>sitemap.html</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="helper.href.offline"> - <xsl:with-param name="href" select="@href" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:variable> -<xsl:variable name="xml" - select="concat(substring-before($href.offline, '.html'), '.xml')" /> - -<xsl:if test="not($xml = $not-exists)"> - <xsl:variable name="xmlfile"> - <xsl:variable name="metafile" - select="document(document(concat($basedir, $xml))/*/@metafile) - /metafile" /> - <xsl:choose> - <xsl:when test="$metafile/variants/variant[.=$messages/@lang] and not - ($metafile/variants/variant[.=$messages/@lang] - /@htmlonly = 'yes')"> - <xsl:value-of select="concat($basedir, - substring-before($xml, '.xml'), $xml-ext)" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat($basedir, $xml)" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="current" select="document($xmlfile)" /> - - <xsl:if test="count($current/*/*[local-name()='section' or - local-name()='category']) > 1"> - &lf;&tab;&tab;&tab; - &ul.start; &lf;&tab;&tab;&tab; - - <xsl:for-each select="$current/*/*[local-name()='section' or - local-name()='category']"> - &li.start; - - <xsl:call-template name="object"> - <xsl:with-param name="name" select="normalize-space(title)" /> - <xsl:with-param name="href"> - <xsl:if test="@id"> - <xsl:value-of - select="concat(substring-before($xml, '.xml'), - '.html#', @id)" /> - </xsl:if> - </xsl:with-param> - <xsl:with-param name="indent" select="'				'" /> - </xsl:call-template> - - &li.end; &lf;&tab;&tab; - </xsl:for-each> - - &ul.end; &lf;&tab; - </xsl:if> <!-- count() > 1 --> -</xsl:if> <!-- xml exists --> -</xsl:template> -<!-- /category/page, "index" --> - - -<!-- ==================================================================== --> -<!-- category/modulefilelist --> -<!-- process all listed module files --> -<!-- ==================================================================== --> -<xsl:template match="category/modulefilelist"> -<!-- create a module name translation list for sorting --> -<xsl:variable name="translist"> - <xsl:text>-</xsl:text> - - <xsl:for-each select="modulefile"> - <xsl:variable name="current" - select="document(concat($basedir,'mod/',.))/modulesynopsis" /> - - <xsl:text> </xsl:text> - <xsl:value-of select="$current/name"/> - <xsl:text> </xsl:text> - <xsl:call-template name="module-translatename"> - <xsl:with-param name="name" select="$current/name"/> - </xsl:call-template> - <xsl:text> -</xsl:text> - </xsl:for-each> -</xsl:variable> - -<!-- put core and mpm_common on top --> -<xsl:call-template name="toc-entry.mpm"> - <xsl:with-param name="current" - select="document(concat($basedir, 'mod/', modulefile[starts-with(., - 'core.xml')]/text()))/modulesynopsis" /> - <xsl:with-param name="name" select="'core'" /> -</xsl:call-template> - -<xsl:call-template name="toc-entry.mpm"> - <xsl:with-param name="current" - select="document(concat($basedir, 'mod/', modulefile[starts-with(., - 'mpm_common.xml')]/text()))/modulesynopsis" /> - <xsl:with-param name="name" select="'common'" /> -</xsl:call-template> - -<!-- remaining MPMs --> -<xsl:for-each select="modulefile"> -<xsl:sort select="substring-before(substring-after($translist, concat('- ', - document(concat($basedir, 'mod/', .))/modulesynopsis/name, ' ')), ' -')" /> - - <xsl:variable name="current" - select="document(concat($basedir, 'mod/', .))/modulesynopsis" /> - - <xsl:if test="$current/status='MPM' and not($current/name='mpm_common')"> - <xsl:call-template name="toc-entry.mpm"> - <xsl:with-param name="current" select="$current" /> - <xsl:with-param name="name" select="substring-before( - substring-after($translist, concat('- ', $current/name, ' ')), - ' -')" /> - </xsl:call-template> - </xsl:if> -</xsl:for-each> - -<!-- normal modules --> -<xsl:for-each select="modulefile"> -<xsl:sort select="substring-before(substring-after($translist, concat('- ', - document(concat($basedir, 'mod/', .))/modulesynopsis/name, ' ')), ' -')" /> - - <xsl:variable name="current" - select="document(concat($basedir, 'mod/', .))/modulesynopsis" /> - - <xsl:if test="not($current/status='MPM') and not($current/status='Core')"> - <xsl:call-template name="toc-entry.module"> - <xsl:with-param name="current" select="$current"/> - </xsl:call-template> - </xsl:if> -</xsl:for-each> -</xsl:template> -<!-- /category/modulefilelist --> - - -<!-- ==================================================================== --> -<!-- toc-entry.mpm --> -<!-- create entry (and initiate subsection entries) of an mpm --> -<!-- ==================================================================== --> -<xsl:template name="toc-entry.mpm"> -<xsl:param name="current" /> -<xsl:param name="name" /> - -&li.start; - -<xsl:call-template name="object"> - <xsl:with-param name="name"> - <xsl:choose> - <xsl:when test="$name='core'"> - <xsl:value-of select="$messages/message[@name='apachecore']" /> - </xsl:when> - <xsl:when test="$name='common'"> - <xsl:value-of select="$messages/message[@name='apachempmcommon']" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$messages/message[@name='apachempm']" /> - <xsl:text> </xsl:text> - <xsl:value-of select="$name" /> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="href" - select="concat('mod/', $current/name, '.html')" /> - <xsl:with-param name="indent" select="'			'" /> -</xsl:call-template> - -<xsl:call-template name="sections-and-directives"> - <xsl:with-param name="current" select="$current" /> -</xsl:call-template> - -&li.end; &lf;&tab; -</xsl:template> -<!-- /toc-entry.mpm --> - - -<!-- ==================================================================== --> -<!-- toc-entry.module --> -<!-- create entry (and initiate subsection entries) of a module --> -<!-- ==================================================================== --> -<xsl:template name="toc-entry.module"> -<xsl:param name="current"/> - -&li.start; - -<xsl:call-template name="object"> - <xsl:with-param name="name"> - <xsl:value-of select="$messages/message[@name='apachemodule']" /> - <xsl:text> </xsl:text> - <xsl:value-of select="$current/name" /> - </xsl:with-param> - <xsl:with-param name="href" - select="concat('mod/', $current/name, '.html')" /> - <xsl:with-param name="indent" select="'			'" /> -</xsl:call-template> - -<xsl:call-template name="sections-and-directives"> - <xsl:with-param name="current" select="$current" /> -</xsl:call-template> - -&li.end; &lf;&tab; -</xsl:template> -<!-- /toc-entry.module --> - - -<!-- ==================================================================== --> -<!-- sections-and-directives --> -<!-- process sections and directives of a module file --> -<!-- ==================================================================== --> -<xsl:template name="sections-and-directives"> -<xsl:param name="current" /> - -<xsl:if test="count($current/section) > 0 or - count($current/directivesynopsis) > 0"> - &lf;&tab;&tab; - - &ul.start; &lf;&tab;&tab; - - <!-- sections --> - <xsl:for-each select="$current/section"> - &li.start; - - <xsl:call-template name="object"> - <xsl:with-param name="name" select="normalize-space(title)" /> - <xsl:with-param name="href"> - <xsl:if test="@id"> - <xsl:value-of - select="concat('mod/', $current/name, '.html#', @id)" /> - </xsl:if> - </xsl:with-param> - <xsl:with-param name="indent" select="'				'" /> - </xsl:call-template> - - &li.end; &lf;&tab;&tab; - </xsl:for-each> - - <!-- directives within the current document --> - <xsl:for-each select="$current/directivesynopsis[not(@location)]"> - <xsl:sort select="name" /> - &li.start; - - <xsl:call-template name="object"> - <xsl:with-param name="name"> - <xsl:if test="@type='section'"><</xsl:if> - <xsl:value-of select="name"/> - <xsl:if test="@type='section'">></xsl:if> - <xsl:choose> - <xsl:when test="$messages/message[@name='directive'] - /@replace-space-with"> - <xsl:value-of select="$messages/message[@name='directive'] - /@replace-space-with" /> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$messages/message[@name='directive']" /> - </xsl:with-param> - <xsl:with-param name="href" - select="concat('mod/', $current/name, '.html#', - translate(name, $uppercase, $lowercase))" /> - <xsl:with-param name="indent" select="'				'" /> - <xsl:with-param name="icon" select="$icon.directive" /> - </xsl:call-template> - - &li.end; &lf;&tab;&tab; - </xsl:for-each> - - <!-- directives described elsewhere --> - <xsl:for-each select="$current/directivesynopsis[@location]"> - <xsl:sort select="name" /> - &li.start; - - <xsl:call-template name="object"> - <xsl:with-param name="name"> - <xsl:if test="@type='section'"><</xsl:if> - <xsl:value-of select="name"/> - <xsl:if test="@type='section'">></xsl:if> - <xsl:choose> - <xsl:when test="$messages/message[@name='directive'] - /@replace-space-with"> - <xsl:value-of select="$messages/message[@name='directive'] - /@replace-space-with" /> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$messages/message[@name='directive']" /> - </xsl:with-param> - <xsl:with-param name="href" - select="concat('mod/', @location, '.html#', - translate(name, $uppercase, $lowercase))" /> - <xsl:with-param name="indent" select="'				'" /> - <xsl:with-param name="icon" select="$icon.commondirective" /> - </xsl:call-template> - - &li.end; &lf;&tab;&tab; - </xsl:for-each> - - &ul.end; &lf;&tab; -</xsl:if> <!-- sections or directives present --> -</xsl:template> -<!-- /sections-and-directives --> - - -<!-- ==================================================================== --> -<!-- object --> -<!-- display an <object> and do some magic to select the right content --> -<!-- ==================================================================== --> -<xsl:template name="object"> -<xsl:param name="name" select="'? unknown ?'" /> -<xsl:param name="href" /> -<xsl:param name="icon" select="$icon.section" /> -<xsl:param name="indent" /> - -<xsl:variable name="href.offline"> - <xsl:call-template name="helper.href.offline"> - <xsl:with-param name="href" select="$href" /> - </xsl:call-template> -</xsl:variable> - -<!-- xml file is expected to have the same basename --> -<xsl:variable name="xml" - select="concat(substring-before($href.offline, '.html'), '.xml')" /> - -<xsl:text><object type="text/sitemap"></xsl:text>&lf; -<xsl:value-of select="$indent" /> - -<xsl:text><param name="Name" value="</xsl:text> - <xsl:call-template name="filter.attval"> - <xsl:with-param name="text" select="$name" /> - </xsl:call-template> -<xsl:text>"></xsl:text>&lf; -<xsl:value-of select="$indent" /> - -<xsl:if test="string-length($href.offline) > 0"> - <xsl:text><param name="Local" value="</xsl:text> - <xsl:call-template name="filter.attval"> - <xsl:with-param name="text" select="$href.offline" /> - </xsl:call-template> - <xsl:text>"></xsl:text>&lf; - <xsl:value-of select="$indent" /> -</xsl:if> - -<xsl:text><param name="ImageNumber" value="</xsl:text> - <xsl:choose> - <xsl:when test="string-length($href.offline) > 0"> - <xsl:choose> - <xsl:when test="contains($href, '#')"> - <xsl:value-of select="$icon" /> - </xsl:when> - <xsl:when test="$messages/@lang='en' or - (not($xml = $not-exists) and - (document(document(concat($basedir, $xml)) - /*/@metafile) - /metafile/variants/variant - [.=$messages/@lang and not(@htmlonly='yes')]))"> - <xsl:value-of select="$icon.document" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$icon.document.not-translated" /> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$icon.no-anchor" /> - </xsl:otherwise> - </xsl:choose> -<xsl:text>"></xsl:text>&lf; -<xsl:value-of select="substring($indent, 2)" /> - -<xsl:text></object></xsl:text> -</xsl:template> -<!-- /object --> - - -<!-- ==================================================================== --> -<!-- folder --> -<!-- ==================================================================== --> -<xsl:template name="folder"> -<xsl:param name="name" select="'? unknown ?'" /> - -<xsl:text><object type="text/sitemap"></xsl:text>&lf;&tab;&tab; -<xsl:text><param name="Name" value="</xsl:text> - <xsl:call-template name="filter.attval"> - <xsl:with-param name="text" select="$name" /> - </xsl:call-template> -<xsl:text>"></xsl:text>&lf;&tab; -<xsl:text></object></xsl:text> -</xsl:template> -<!-- /folder --> - - -<!-- ==================================================================== --> -<!-- helper.href.offline --> -<!-- change uri reference to work offline (/ -> /index.html) --> -<!-- ==================================================================== --> -<xsl:template name="helper.href.offline"> -<xsl:param name="href" /> - -<xsl:choose> -<xsl:when test="string-length($href) = 0" /> -<xsl:when test="contains($href, '#') and '/' = substring($href, - string-length(substring-before($href, '#')), 1)"> - <xsl:value-of select="substring-before($href, '#')" /> - <xsl:text>index.html#</xsl:text> - <xsl:value-of select="substring-after($href, '#')" /> -</xsl:when> -<xsl:when test="substring($href, string-length($href), 1) = '/'"> - <xsl:value-of select="$href" /> - <xsl:text>index.html</xsl:text> -</xsl:when> -<xsl:otherwise> - <xsl:value-of select="$href" /> -</xsl:otherwise> -</xsl:choose> -</xsl:template> -<!-- /helper.href.offline --> - - -<!-- ==================================================================== --> -<!-- filter.attval --> -<!-- escape special characters for being valid within an attribute --> -<!-- ==================================================================== --> -<xsl:template name="filter.attval"> -<xsl:param name="text" /> - -<xsl:choose> -<xsl:when test="contains($text, '&')"> - <xsl:call-template name="filter.attval.special"> - <xsl:with-param name="text" select="substring-before($text, '&')" /> - </xsl:call-template> - <xsl:text>&amp;</xsl:text> - <xsl:call-template name="filter.attval"> - <xsl:with-param name="text" select="substring-after($text, '&')" /> - </xsl:call-template> -</xsl:when> -<xsl:otherwise> - <xsl:call-template name="filter.attval.special"> - <xsl:with-param name="text" select="$text" /> - </xsl:call-template> -</xsl:otherwise> -</xsl:choose> -</xsl:template> -<!-- /filter.attval --> - - -<!-- ==================================================================== --> -<!-- filter.attval.special --> -<!-- accompanying template of filter.attval --> -<!-- ==================================================================== --> -<xsl:template name="filter.attval.special"> -<xsl:param name="text" /> - -<xsl:choose> -<xsl:when test="contains($text, '<')"> - <xsl:value-of select="substring-before($text, '<')" /> - <xsl:text>&lt;</xsl:text> - <xsl:call-template name="filter.attval.special"> - <xsl:with-param name="text" select="substring-after($text, '<')" /> - </xsl:call-template> -</xsl:when> -<xsl:when test="contains($text, '>')"> - <xsl:value-of select="substring-before($text, '>')" /> - <xsl:text>&gt;</xsl:text> - <xsl:call-template name="filter.attval.special"> - <xsl:with-param name="text" select="substring-after($text, '>')" /> - </xsl:call-template> -</xsl:when> -<xsl:when test="contains($text, '"')"> - <xsl:value-of select="substring-before($text, '"')" /> - <xsl:text>&quot;</xsl:text> - <xsl:call-template name="filter.attval.special"> - <xsl:with-param name="text" select="substring-after($text, '"')" /> - </xsl:call-template> -</xsl:when> -<xsl:otherwise> - <xsl:value-of select="$text" /> -</xsl:otherwise> -</xsl:choose> -</xsl:template> -<!-- /filter.attval.special --> - -</xsl:stylesheet> diff --git a/docs/manual/style/chm/hhp.de.xsl b/docs/manual/style/chm/hhp.de.xsl deleted file mode 100644 index 7d8b247a78..0000000000 --- a/docs/manual/style/chm/hhp.de.xsl +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/de.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="hhp-lang" select="'0x407 German (Germany)'" /> <!-- MS magic ... --> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhp.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhp.en.xsl b/docs/manual/style/chm/hhp.en.xsl deleted file mode 100644 index 57780b913f..0000000000 --- a/docs/manual/style/chm/hhp.en.xsl +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/en.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="hhp-lang" select="'0x409 English (United States)'" /> <!-- MS magic ... --> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhp.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhp.es.xsl b/docs/manual/style/chm/hhp.es.xsl deleted file mode 100644 index 6ad8066858..0000000000 --- a/docs/manual/style/chm/hhp.es.xsl +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="windows-1252" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/es.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="hhp-lang" select="'0xC0A Spanish (Spain)'" /> <!-- MS magic ... --> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhp.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhp.ja.xsl b/docs/manual/style/chm/hhp.ja.xsl deleted file mode 100644 index f2346f5186..0000000000 --- a/docs/manual/style/chm/hhp.ja.xsl +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="SHIFT_JIS" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ja.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="hhp-lang" select="'0x411 Japanese'" /> <!-- MS magic ... --> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhp.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhp.ko.xsl b/docs/manual/style/chm/hhp.ko.xsl deleted file mode 100644 index b7cdc7e2cc..0000000000 --- a/docs/manual/style/chm/hhp.ko.xsl +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- English Revision: 1.4 --> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="text" - encoding="EUC-KR" - indent="no" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ko.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="hhp-lang" select="'0x412 Korean'" /> <!-- MS magic ... --> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="hhp.xsl"/> - -</xsl:stylesheet> - diff --git a/docs/manual/style/chm/hhp.xsl b/docs/manual/style/chm/hhp.xsl deleted file mode 100644 index 751330ec86..0000000000 --- a/docs/manual/style/chm/hhp.xsl +++ /dev/null @@ -1,312 +0,0 @@ -<?xml version="1.0"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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. ---> - -<!DOCTYPE xsl:stylesheet [ - <!ENTITY lf SYSTEM "../xsl/util/lf.xml"> -]> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns=""> - -<!-- the accompanying server version --> -<xsl:param name="httpd.version" select="'generic'" /> - -<!-- create nodeset for referencing later --> -<xsl:variable name="htmlhelp.def" select="document('')/xsl:stylesheet - /xsl:template[@name='htmlhelp.def']" /> - -<!-- ==================================================================== --> -<!-- <sitemap> --> -<!-- Create CHM project file from sitemap --> -<!-- The file is an *.ini format text file --> -<!-- ==================================================================== --> -<xsl:template match="/sitemap"> - -<!-- static information --> -<!-- **************************************************************** --> -<xsl:text>[OPTIONS]</xsl:text>&lf; -<xsl:text>Binary TOC=No</xsl:text>&lf; -<xsl:text>Compatibility=1.0</xsl:text>&lf; - -<!-- resulting filename --> -<xsl:text>Compiled file=httpd-docs-</xsl:text> -<xsl:value-of select="$httpd.version" /> -<xsl:text>.</xsl:text> -<xsl:value-of select="$messages/@lang" /> -<xsl:text>.chm</xsl:text>&lf; - -<xsl:text>Contents file=toc.hhc</xsl:text>&lf; -<xsl:text>Default Window=Main</xsl:text>&lf; -<xsl:text>Default topic=index.html</xsl:text>&lf; - -<!-- compiler related --> -<xsl:text>Display compile progress=Yes</xsl:text>&lf; -<xsl:text>Enhanced decompilation=Yes</xsl:text>&lf; - -<!-- search related --> -<xsl:text>Full-text search=Yes</xsl:text>&lf; -<xsl:text>Language=</xsl:text> -<xsl:value-of select="$hhp-lang" />&lf; - -<!-- title of the help file --> -<xsl:text>Title=</xsl:text> -<xsl:value-of select="$messages/message[@name='apachehttpserver']"/>&lf;&lf; - -<!-- main window definition --> -<xsl:text>[WINDOWS]</xsl:text>&lf; -<xsl:text>Main=</xsl:text> - -<!-- title --> -<xsl:text>"</xsl:text> -<xsl:value-of select="$messages/message[@name='apachehttpserver']"/> -<xsl:text>",</xsl:text> - -<!-- toc file --> -<xsl:text>"toc.hhc",</xsl:text> - -<!-- index file (currently none) --> -<xsl:text>,</xsl:text> - -<!-- default file (startup) --> -<xsl:text>"index.html",</xsl:text> - -<!-- Home button file --> -<xsl:text>"index.html",</xsl:text> - -<!-- Jump 1 url, text --> -<xsl:text>,,</xsl:text> - -<!-- Jump 2 url, text --> -<xsl:text>,,</xsl:text> - -<!-- navigation pane style (0x1e357e) --> -<xsl:call-template name="helper.number2hex"> - <xsl:with-param name="number" select="sum($htmlhelp.def/navigation/style - [@selected='yes'])" /> -</xsl:call-template> -<xsl:text>,</xsl:text> - -<!-- navigation pane initial width (px) --> -<xsl:text>180,</xsl:text> - -<!-- button mask --> -<xsl:call-template name="helper.number2hex"> - <xsl:with-param name="number" select="sum($htmlhelp.def/buttons/button - [@visible='yes'])" /> -</xsl:call-template> -<xsl:text>,</xsl:text> - -<!-- Initial Position [Left, Top, Right, Bottom] --> -<xsl:text>[0,0,600,380],</xsl:text> - -<!-- window style --> -<xsl:call-template name="helper.number2hex"> - <xsl:with-param name="result" select="'0000'" /> <!-- << 16 --> - <xsl:with-param name="number" select="sum($htmlhelp.def/windowstyle/style - [@selected='yes'])" /> -</xsl:call-template> -<xsl:text>,</xsl:text> - -<!-- extended style --> -<xsl:text>,</xsl:text> - -<!-- flag: navigation pane initial closed (=1) --> -<xsl:text>,</xsl:text> - -<!-- unknown, default pane, unknown, unknown --> -<xsl:text>,,,0</xsl:text>&lf;&lf; - -<!-- file list --> -<!-- **************************************************************** --> -<xsl:text>[FILES]</xsl:text>&lf; - -<!-- not automatically sucked in. (because only @import()ed) --> -<xsl:text>style\css\manual.css</xsl:text>&lf; -<xsl:text>style\css\manual-loose-100pc.css</xsl:text>&lf; - -<!-- include project file itself for easier recompiling --> -<xsl:text>manual.hhp</xsl:text>&lf; - -<!-- and now all sitemap-listed files --> -<xsl:for-each select="category"> - <xsl:apply-templates select="page[@href]" /> - <xsl:apply-templates select="modulefilelist/modulefile"/> -</xsl:for-each>&lf; -</xsl:template> -<!-- /sitemap --> - - -<!-- ==================================================================== --> -<!-- files referenced in sitemap --> -<!-- ==================================================================== --> -<xsl:template match="category/page"> -<xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="contains(@href, '#') and substring(@href, - string-length(substring-before(@href, '#')), 1) = '/'"> - <xsl:value-of select="substring-before(@href, '#')" /> - <xsl:text>index.html</xsl:text> - </xsl:when> - <xsl:when test="substring(@href, string-length(@href), 1) = '/'"> - <xsl:value-of select="@href"/> - <xsl:text>index.html</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@href"/> - </xsl:otherwise> - </xsl:choose> -</xsl:variable> - -<xsl:value-of select="translate($filename, '/', '\')" />&lf; -</xsl:template> -<!-- /page[@href] --> - - -<!-- ==================================================================== --> -<!-- list module files --> -<!-- ==================================================================== --> -<xsl:template match="category/modulefilelist/modulefile"> -<xsl:text>mod\</xsl:text> -<xsl:value-of select="substring-before(normalize-space(.), '.xml')" /> -<xsl:text>.html</xsl:text>&lf; -</xsl:template> -<!-- /modulefilelist/modulefile --> - - -<!-- ==================================================================== --> -<!-- convert number to its hexadecimal representation. --> -<!-- I could not find a built-in function, so write our own ... *sigh* --> -<!-- ==================================================================== --> -<xsl:template name="helper.number2hex"> -<xsl:param name="number" /> -<xsl:param name="result" /> - -<xsl:choose> -<xsl:when test="number($number) > 0"> - <xsl:call-template name="helper.number2hex"> - <xsl:with-param name="number" select="floor(number($number) div 16)" /> - <xsl:with-param name="result" - select="concat(substring('0123456789abcdef', - (number($number) mod 16) + 1, 1), - $result)" /> - </xsl:call-template> -</xsl:when> -<xsl:otherwise> - <!-- if zero, don't print anything. hh.exe (the viewer) seems to --> - <!-- prefer an empty value --> - <xsl:if test="string-length(translate($result, '0', '')) > 0"> - <xsl:text>0x</xsl:text> - <xsl:value-of select="$result" /> - </xsl:if> -</xsl:otherwise> -</xsl:choose> -</xsl:template> -<!-- /helper.number2hex --> - - -<!-- ==================================================================== --> -<!-- some of the values are derived from htmlhelp.h --> -<!-- do NOT call this template, it's referenced automagically via --> -<!-- document() function and acts as simple data container. --> -<!-- --> -<!-- Hints: 'ni' means 'not implemented' (by the help viewer) --> -<!-- 'ns' means 'not useful for standalone help file' --> -<!-- ==================================================================== --> -<xsl:template name="htmlhelp.def"> -<navigation> - <style > 1</style> <!-- auto hide nav. pane << 0 --> - <style > 2</style> <!-- ns: topmost window << 1 --> - <style > 4</style> <!-- ns: no title bar << 2 --> - <style > 8</style> <!-- ns: no win. style << 3 --> - <style > 16</style> <!-- ns: no ext. style << 4 --> - <style selected="yes"> 32</style> <!-- use tri-pane win. << 5 --> - <style > 64</style> <!-- no toolbar text << 6 --> - <style > 128</style> <!-- ns: send WM_QUIT << 7 --> - <style selected="yes"> 256</style> <!-- toc auto sync << 8 --> - <style > 512</style> <!-- ns: send track. not. << 9 --> - <style selected="yes"> 1024</style> <!-- search tab << 10 --> - <style > 2048</style> <!-- ni(?): history tab << 11 --> - <style selected="yes"> 4096</style> <!-- favorites tab << 12 --> - <style > 8192</style> <!-- ni(?): title sync << 13 --> - <style > 16384</style> <!-- nav. only << 14 --> - <style > 32768</style> <!-- no toolbar << 15 --> - <style selected="yes"> 65536</style> <!-- show menu << 16 --> - <style selected="yes"> 131072</style> <!-- advanced search << 17 --> - <style selected="yes"> 262144</style> <!-- safe user's win. size << 18 --> - <style > 524288</style> <!-- custom tab 1 << 19 --> - <style > 1048576</style> <!-- custom tab 2 << 20 --> - <style > 2097152</style> <!-- custom tab 3 << 21 --> - <style > 4194304</style> <!-- custom tab 4 << 22 --> - <style > 8388608</style> <!-- custom tab 5 << 23 --> - <style > 16777216</style> <!-- custom tab 6 << 24 --> - <style > 33554432</style> <!-- custom tab 7 << 25 --> - <style > 67108864</style> <!-- custom tab 8 << 26 --> - <style >134217728</style> <!-- custom tab 9 << 27 --> - <style >268435456</style> <!-- window has margin (?) << 28 --> -</navigation> - -<buttons> - <button visible="yes"> 2</button> <!-- expand/contract << 1 --> - <button visible="yes"> 4</button> <!-- back << 2 --> - <button visible="yes"> 8</button> <!-- forward << 3 --> - <button visible="yes"> 16</button> <!-- Stop << 4 --> - <button > 32</button> <!-- Refresh << 5 --> - <button visible="yes"> 64</button> <!-- Home << 6 --> - <button > 128</button> <!-- ni: browse fwd << 7 --> - <button > 256</button> <!-- ni: browse back << 8 --> - <button > 512</button> <!-- ni: notes << 9 --> - <button > 1024</button> <!-- ni: contents << 10 --> - <button visible="yes"> 2048</button> <!-- Sync TOC << 11 --> - <button visible="yes"> 4096</button> <!-- Options << 12 --> - <button visible="yes"> 8192</button> <!-- Print << 13 --> - <button > 16384</button> <!-- ni: index << 14 --> - <button > 32768</button> <!-- ni: search << 15 --> - <button > 65536</button> <!-- ni: history << 16 --> - <button > 131072</button> <!-- ni: favorites << 17 --> - <button > 262144</button> <!-- Jump 1 << 18 --> - <button > 524288</button> <!-- Jump 2 << 19 --> - <button visible="yes">1048576</button> <!-- (Font) Zoom << 20 --> - <!-- the following work only with binary toc, which unfortunately --> - <!-- seems to eat the different icons ... --> - <button >2097152</button> <!-- TOC next << 21 --> - <button >4194304</button> <!-- TOC prev << 22 --> -</buttons> - -<windowstyle> - <!-- all the stuff is additionally shifted << 16 (by the caller) --> - <style selected="yes"> 1</style> <!-- maximize box << 0 --> - <style selected="yes"> 2</style> <!-- minimize box << 1 --> - <style selected="yes"> 4</style> <!-- thick frame << 2 --> - <style selected="yes"> 8</style> <!-- system menu << 3 --> - <style > 16</style> <!-- horiz. scroll << 4 --> - <style > 32</style> <!-- vertic. scroll << 5 --> - <style selected="yes"> 64</style> <!-- dialog frame << 6 --> - <style selected="yes"> 128</style> <!-- border << 7 --> - <style selected="yes"> 256</style> <!-- maximize << 8 --> - <style > 512</style> <!-- clip child win. << 9 --> - <style > 1024</style> <!-- clip sibl. win. << 10 --> - <style > 2048</style> <!-- disabled << 11 --> - <style selected="yes"> 4096</style> <!-- visible << 12 --> - <style selected="yes"> 8192</style> <!-- minimize << 13 --> - <style >16384</style> <!-- child window << 14 --> - <style >32768</style> <!-- pop-up << 15 --> -</windowstyle> -</xsl:template> -<!-- /htmlhelp.def --> - -</xsl:stylesheet> diff --git a/docs/manual/style/description.xml b/docs/manual/style/description.xml new file mode 100644 index 0000000000..d81722a927 --- /dev/null +++ b/docs/manual/style/description.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + Copyright 2002-2004 The Apache Software Foundation + + Licensed 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. +--> + +<description> +This build file contains all operations that are necessary for building +the Apache httpd documentation. It is called by invoking build.bat (Win32) +or build.sh (/bin/sh systems) with a target argument (full list below). +For example, if you want to build the Japanese HTML files, type: + + ./build.sh ja + +Some targets have additional requirements: + +* 'metafiles' and 'modulelists' need perl in PATH. (It's checked automatically + and skipped if perl is not available) + +* 'chm-foo' targets need: + - the HTML Help compiler in PATH (or modify this build file). The + compiler (hhc.exe) is part of the HTML Help Workshop which is freely + available and can be downloaded from + http://msdn.microsoft.com/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp + - The appropriate locale (e.g. Japanese) before invoking hhc.exe. Otherwise + the compiler is not able to build the fulltext search index correctly and + the TOC may be garbled, too. In particular: + + chm-de: German (Germany), sorting order: dictionary + + chm-en: English (USA) + + chm-es: Spanish (Spain), sorting order: international + + chm-ja: Japanese + + chm-ko: Korean + +</description>
\ No newline at end of file diff --git a/docs/manual/style/lang-targets.xml b/docs/manual/style/lang-targets.xml new file mode 100644 index 0000000000..0fcfa0032a --- /dev/null +++ b/docs/manual/style/lang-targets.xml @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + Copyright 2002-2004 The Apache Software Foundation + + Licensed 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. +--> + +<!-- this file contains language specific targets and will be included --> +<!-- into build.xml. IT IS AUTOGENERATED. DO NOT TOUCH! --> +<!-- ==================================================================== --> +<project name="lang-targets"> + +<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, ja, ko, ru"/> +<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-ja, zip-ko, zip-ru"/> + +<!-- German --> +<!-- ==================================================================== --> +<property value=".xml.de" name="inputext.de"/> +<property value=".html.de" name="outputext.de"/> + +<target description="- builds German HTML files" name="de"> + <html.generic lang="de"/> +</target> +<target description="- builds the German zipped download package" name="zip-de"> + <zip.generic lang="de"/> +</target> +<target description="- builds the German CHM file" name="chm-de"> + <chm.generic lang="de"/> +</target> + +<!-- English --> +<!-- ==================================================================== --> +<property value=".xml" name="inputext.en"/> +<property value=".html.en" name="outputext.en"/> + +<target description="- builds English HTML files" name="en"> + <html.generic lang="en"/> + <runtarget target="man-en"/> +</target> +<target description="- builds the English zipped download package" name="zip-en"> + <zip.generic lang="en"/> +</target> +<target description="- builds the English CHM file" name="chm-en"> + <chm.generic lang="en"/> +</target> +<target description="- builds the English nroff files" name="man-en"> + <nroff.generic lang="en"/> +</target> +<target description="- builds the English latex file" name="latex-en"> + <latex.generic lang="en"/> +</target> + +<!-- Spanish --> +<!-- ==================================================================== --> +<property value=".xml.es" name="inputext.es"/> +<property value=".html.es" name="outputext.es"/> + +<target description="- builds Spanish HTML files" name="es"> + <html.generic lang="es"/> +</target> +<target description="- builds the Spanish zipped download package" name="zip-es"> + <zip.generic lang="es"/> +</target> +<target description="- builds the Spanish CHM file" name="chm-es"> + <chm.generic lang="es"/> +</target> + +<!-- Japanese --> +<!-- ==================================================================== --> +<property value=".xml.ja" name="inputext.ja"/> +<property value=".html.ja.jis" name="outputext.ja"/> + +<target description="- builds Japanese HTML files" name="ja"> + <html.generic lang="ja"/> +</target> +<target description="- builds the Japanese zipped download package" name="zip-ja"> + <zip.generic lang="ja"/> +</target> +<target description="- builds the Japanese CHM file" name="chm-ja"> + <chm.generic lang="ja"/> +</target> + +<!-- Korean --> +<!-- ==================================================================== --> +<property value=".xml.ko" name="inputext.ko"/> +<property value=".html.ko.euc-kr" name="outputext.ko"/> + +<target description="- builds Korean HTML files" name="ko"> + <html.generic lang="ko"/> +</target> +<target description="- builds the Korean zipped download package" name="zip-ko"> + <zip.generic lang="ko"/> +</target> +<target description="- builds the Korean CHM file" name="chm-ko"> + <chm.generic lang="ko"/> +</target> + +<!-- Russian --> +<!-- ==================================================================== --> +<property value=".xml.ru" name="inputext.ru"/> +<property value=".html.ru.koi8-r" name="outputext.ru"/> + +<target description="- builds Russian HTML files" name="ru"> + <html.generic lang="ru"/> +</target> +<target description="- builds the Russian zipped download package" name="zip-ru"> + <zip.generic lang="ru"/> +</target> + +<!-- XML validation. --> +<!-- If you get an error during transformation, this task may be useful --> +<!-- because it mostly gives you a hint, where you forgot the </p> ;-) --> +<!-- ==================================================================== --> +<target description="- validates all XML source files" name="validate-xml"> + <xmlvalidate warn="true" failonerror="false" lenient="false"> + <xmlcatalog refid="w3c-catalog"/> + <fileset dir="../"> + <include name="**/*.xml.de"/> + <include name="**/*.xml"/> + <include name="**/*.xml.es"/> + <include name="**/*.xml.ja"/> + <include name="**/*.xml.ko"/> + <include name="**/*.xml.ru"/> + + <patternset refid="excludes"/> + <patternset refid="scratch"/> + </fileset> + </xmlvalidate> +</target> + +</project>
\ No newline at end of file diff --git a/docs/manual/style/manual.de.xsl b/docs/manual/style/manual.de.xsl index eeb3feedf6..c036a18fe0 100644 --- a/docs/manual/style/manual.de.xsl +++ b/docs/manual/style/manual.de.xsl @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2002-2004 The Apache Software Foundation @@ -16,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<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="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"/> <!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/de.xml')/messages"/> +<xsl:variable name="message" select="document('lang/de.xml')/language/messages/message"/> +<xsl:variable name="doclang">de</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">ISO-8859-1</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.en.xsl b/docs/manual/style/manual.en.xsl index f368b18689..762a94ea7e 100644 --- a/docs/manual/style/manual.en.xsl +++ b/docs/manual/style/manual.en.xsl @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2002-2004 The Apache Software Foundation @@ -16,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<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="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"/> <!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/en.xml')/messages"/> +<xsl:variable name="message" select="document('lang/en.xml')/language/messages/message"/> +<xsl:variable name="doclang">en</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">ISO-8859-1</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.es.xsl b/docs/manual/style/manual.es.xsl index 209c26f756..e91aac7279 100644 --- a/docs/manual/style/manual.es.xsl +++ b/docs/manual/style/manual.es.xsl @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- - Copyright 2004 The Apache Software Foundation + Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,27 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<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="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"/> <!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/es.xml')/messages"/> +<xsl:variable name="message" select="document('lang/es.xml')/language/messages/message"/> +<xsl:variable name="doclang">es</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">ISO-8859-1</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> - +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.fr.xsl b/docs/manual/style/manual.fr.xsl index 0385f61b9f..e37d9755b8 100644 --- a/docs/manual/style/manual.fr.xsl +++ b/docs/manual/style/manual.fr.xsl @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- - Copyright 2003-2004 The Apache Software Foundation + Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -16,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<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="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"/> <!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/fr.xml')/messages"/> +<xsl:variable name="message" select="document('lang/fr.xml')/language/messages/message"/> +<xsl:variable name="doclang">fr</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">ISO-8859-1</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.ja.xsl b/docs/manual/style/manual.ja.xsl index 695b504a2d..64b6b0e250 100644 --- a/docs/manual/style/manual.ja.xsl +++ b/docs/manual/style/manual.ja.xsl @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2002-2004 The Apache Software Foundation @@ -16,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:output - method="xml" - encoding="iso-2022-jp" - 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="xml" encoding="ISO-2022-JP" 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="messages" select="document('lang/ja.xml')/messages"/> +<xsl:variable name="message" select="document('lang/ja.xml')/language/messages/message"/> +<xsl:variable name="doclang">ja</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'iso-2022-jp'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">ISO-2022-JP</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.ko.xsl b/docs/manual/style/manual.ko.xsl index 52080a3db4..aae92bd4c2 100644 --- a/docs/manual/style/manual.ko.xsl +++ b/docs/manual/style/manual.ko.xsl @@ -1,8 +1,7 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- English Revision: 1.7 --> +<?xml version="1.0" encoding="utf-8"?> <!-- - Copyright 2003-2004 The Apache Software Foundation + Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<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="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"/> <!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/ko.xml')/messages"/> +<xsl:variable name="message" select="document('lang/ko.xml')/language/messages/message"/> +<xsl:variable name="doclang">ko</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'EUC-KR'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">EUC-KR</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.pt-br.xsl b/docs/manual/style/manual.pt-br.xsl deleted file mode 100644 index 5050763ec3..0000000000 --- a/docs/manual/style/manual.pt-br.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2002-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<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" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/pt-br.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/manual.ru.xsl b/docs/manual/style/manual.ru.xsl index 06d3ec201b..2459a80928 100644 --- a/docs/manual/style/manual.ru.xsl +++ b/docs/manual/style/manual.ru.xsl @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2002-2004 The Apache Software Foundation @@ -16,26 +16,20 @@ limitations under the License. --> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> -<xsl:output - method="xml" - encoding="KOI8-R" - 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="xml" encoding="KOI8-R" 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="messages" select="document('lang/ru.xml')/messages"/> +<xsl:variable name="message" select="document('lang/ru.xml')/language/messages/message"/> +<xsl:variable name="doclang">ru</xsl:variable> <!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'KOI8-R'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> +<xsl:variable name="output-encoding">KOI8-R</xsl:variable> +<xsl:variable name="is-chm" select="false()"/> +<xsl:variable name="is-zip" select="false()"/> <!-- Now get the real guts of the stylesheet --> <xsl:include href="xsl/common.xsl"/> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/manual/style/manual.sv.xsl b/docs/manual/style/manual.sv.xsl deleted file mode 100644 index 1daec06663..0000000000 --- a/docs/manual/style/manual.sv.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2002-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<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" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('lang/sv.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'ISO-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="false()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/zip/zip.de.xsl b/docs/manual/style/zip/zip.de.xsl deleted file mode 100644 index 2b8d64f257..0000000000 --- a/docs/manual/style/zip/zip.de.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="iso-8859-1" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/de.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'iso-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="true()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/zip/zip.en.xsl b/docs/manual/style/zip/zip.en.xsl deleted file mode 100644 index 9162aabe2c..0000000000 --- a/docs/manual/style/zip/zip.en.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2003-2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="iso-8859-1" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/en.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'iso-8859-1'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="true()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/zip/zip.ja.xsl b/docs/manual/style/zip/zip.ja.xsl deleted file mode 100644 index da4bb67cea..0000000000 --- a/docs/manual/style/zip/zip.ja.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="iso-2022-jp" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ja.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'iso-2022-jp'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="true()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/zip/zip.ko.xsl b/docs/manual/style/zip/zip.ko.xsl deleted file mode 100644 index 99531711ac..0000000000 --- a/docs/manual/style/zip/zip.ko.xsl +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- English Revision: 1.3 --> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="EUC-KR" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ko.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'EUC-KR'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="true()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> diff --git a/docs/manual/style/zip/zip.ru.xsl b/docs/manual/style/zip/zip.ru.xsl deleted file mode 100644 index e43b54d362..0000000000 --- a/docs/manual/style/zip/zip.ru.xsl +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - Copyright 2004 The Apache Software Foundation - - Licensed 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 version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<xsl:output - method="xml" - encoding="KOI8-R" - indent="no" - doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" - omit-xml-declaration="yes" -/> - -<!-- Read the localized messages from the specified language file --> -<xsl:variable name="messages" select="document('../lang/ru.xml')/messages"/> - -<!-- some meta information have to be passed to the transformation --> -<xsl:variable name="output-encoding" select="'KOI8-R'" /> -<xsl:variable name="is-chm" select="false()" /> -<xsl:variable name="is-zip" select="true()" /> - -<!-- Now get the real guts of the stylesheet --> -<xsl:include href="../xsl/common.xsl"/> - -</xsl:stylesheet> |