]> granicus.if.org Git - apache/commitdiff
prepare Spanish CHM generation
authorAndré Malo <nd@apache.org>
Sat, 24 Apr 2004 12:43:25 +0000 (12:43 +0000)
committerAndré Malo <nd@apache.org>
Sat, 24 Apr 2004 12:43:25 +0000 (12:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103503 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/chm/chm.es.xsl [new file with mode: 0644]
docs/manual/style/chm/hhc.es.xsl [new file with mode: 0644]
docs/manual/style/chm/hhp.es.xsl [new file with mode: 0644]

diff --git a/docs/manual/style/chm/chm.es.xsl b/docs/manual/style/chm/chm.es.xsl
new file mode 100644 (file)
index 0000000..c7d400e
--- /dev/null
@@ -0,0 +1,41 @@
+<?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/hhc.es.xsl b/docs/manual/style/chm/hhc.es.xsl
new file mode 100644 (file)
index 0000000..1bd53af
--- /dev/null
@@ -0,0 +1,40 @@
+<?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/hhp.es.xsl b/docs/manual/style/chm/hhp.es.xsl
new file mode 100644 (file)
index 0000000..6ad8066
--- /dev/null
@@ -0,0 +1,38 @@
+<?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>
+