You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/24 14:43:25 UTC

cvs commit: httpd-2.0/docs/manual/style/chm chm.es.xsl hhc.es.xsl hhp.es.xsl

nd          2004/04/24 05:43:25

  Added:       docs/manual/style/chm chm.es.xsl hhc.es.xsl hhp.es.xsl
  Log:
  prepare Spanish CHM generation
  
  Revision  Changes    Path
  1.1                  httpd-2.0/docs/manual/style/chm/chm.es.xsl
  
  Index: chm.es.xsl
  ===================================================================
  <?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>
  
  
  
  1.1                  httpd-2.0/docs/manual/style/chm/hhc.es.xsl
  
  Index: hhc.es.xsl
  ===================================================================
  <?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>
  
  
  
  
  1.1                  httpd-2.0/docs/manual/style/chm/hhp.es.xsl
  
  Index: hhp.es.xsl
  ===================================================================
  <?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>