You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2002/05/17 19:24:41 UTC
cvs commit: httpd-2.0/docs/manual/style manual.en.xsl manual.ja.xsl build.xml manual.xsl settings.xsl
slive 02/05/17 10:24:41
Modified: docs/manual/style build.xml
Added: docs/manual/style manual.en.xsl manual.ja.xsl
Removed: docs/manual/style manual.xsl settings.xsl
Log:
Change the way language-dependent xslt works. Now a different
stylesheet must be used for different languages. The language-dependent
stylesheets simply include the appropriate language settings and then
include common.xsl to get the real stylesheet.
Revision Changes Path
1.2 +9 -2 httpd-2.0/docs/manual/style/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/style/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -u -r1.1 -r1.2
--- build.xml 14 Feb 2002 00:48:04 -0000 1.1
+++ build.xml 17 May 2002 17:24:41 -0000 1.2
@@ -17,9 +17,16 @@
<style basedir="../mod/"
destdir="../mod/"
extension=".html"
- style="./manual.xsl"
- excludes="empty.xml"
+ style="./manual.en.xsl"
+ excludes="*.ja.xml"
includes="*.xml">
+ <param name="relative-path" expression="."/>
+ </style>
+ <style basedir="../mod/"
+ destdir="../mod/"
+ extension=".html"
+ style="./manual.ja.xsl"
+ includes="*.xml.ja">
<param name="relative-path" expression="."/>
</style>
</target>
1.1 httpd-2.0/docs/manual/style/manual.en.xsl
Index: manual.en.xsl
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-8859-1" indent="no"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="messages" select="document('en.xml')/messages"/>
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="common.xsl"/>
</xsl:stylesheet>
1.1 httpd-2.0/docs/manual/style/manual.ja.xsl
Index: manual.ja.xsl
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-2202-JP" indent="no"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="messages" select="document('ja.xml')/messages"/>
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="common.xsl"/>
</xsl:stylesheet>