]> granicus.if.org Git - apache/commitdiff
add basic xsl for French transformation
authorAndré Malo <nd@apache.org>
Sat, 5 Jul 2003 22:27:57 +0000 (22:27 +0000)
committerAndré Malo <nd@apache.org>
Sat, 5 Jul 2003 22:27:57 +0000 (22:27 +0000)
Submitted by: Vincent Deffontaines <vincent@gryzor.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100457 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/manual.fr.xsl [new file with mode: 0644]

diff --git a/docs/manual/style/manual.fr.xsl b/docs/manual/style/manual.fr.xsl
new file mode 100644 (file)
index 0000000..ef2fce7
--- /dev/null
@@ -0,0 +1,24 @@
+<?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="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"/>
+
+<!-- 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>