]> granicus.if.org Git - docbook-dsssl/commitdiff
Test xrefstyle customization
authorNorman Walsh <ndw@nwalsh.com>
Sun, 7 Jul 2002 23:37:07 +0000 (23:37 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 7 Jul 2002 23:37:07 +0000 (23:37 +0000)
testdocs/xrefstyle.xsl [new file with mode: 0644]

diff --git a/testdocs/xrefstyle.xsl b/testdocs/xrefstyle.xsl
new file mode 100644 (file)
index 0000000..17792bc
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../xsl/html/docbook.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:param name="local.l10n.xml" select="document('')"/>
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+  <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
+   <l:context name="xref">
+      <l:template name="chapter" style="title" text="Chapter %n, %t"/>
+      <l:template name="chapter" text="Chapter %n"/>
+    </l:context>
+  </l:l10n>
+</l:i18n>
+
+</xsl:stylesheet>