]> granicus.if.org Git - docbook-dsssl/commitdiff
Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
authorMauritz Jeanson <mj@johanneberg.com>
Fri, 20 Jul 2007 14:59:23 +0000 (14:59 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Fri, 20 Jul 2007 14:59:23 +0000 (14:59 +0000)
regular "parameter machinery".

xsl/html/param.ent
xsl/html/param.xweb
xsl/javahelp/javahelp.xsl
xsl/params/javahelp.encoding.xml [new file with mode: 0644]

index 0ffff06bcd1f1d5049eb1766484e1d48e2c4e58f..9d3f055f936cea9f0cd9390771536a5b27219ec7 100644 (file)
 <!ENTITY index.method SYSTEM "../params/index.method.xml">
 <!ENTITY reference.autolabel SYSTEM "../params/reference.autolabel.xml">
 <!ENTITY glossary.sort SYSTEM "../params/glossary.sort.xml">
+<!ENTITY javahelp.encoding SYSTEM "../params/javahelp.encoding.xml">
\ No newline at end of file
index 04eec98443e101cec4d5af411fbe6aeb5e7b257b..8ec08820ce71e53cf93ed1110e7b71920f1f22fb 100644 (file)
@@ -397,6 +397,9 @@ profiling of your document. FIXME: Add link to Bob’s book.</para>
 &eclipse.plugin.id;
 &eclipse.plugin.provider;
 </reference>
+<reference xml:id="javahelp"><title>JavaHelp</title>
+&javahelp.encoding;
+</reference>
 <reference xml:id="l10n"><title>Localization</title>
 &l10n.gentext.language;
 &l10n.gentext.default.language;
@@ -593,6 +596,7 @@ around all these parameters.</para>
 <src:fragref linkend="ignore.image.scaling.frag"/>
 <src:fragref linkend="inherit.keywords.frag"/>
 <src:fragref linkend="insert.xref.page.number.frag"/>
+<src:fragref linkend="javahelp.encoding.frag"/>
 <src:fragref linkend="keep.relative.image.uris.frag"/>
 <src:fragref linkend="l10n.gentext.default.language.frag"/>
 <src:fragref linkend="l10n.gentext.language.frag"/>
index 8b252d3ba3e77372123838872fe39eef31b868b1..4355e49b4ec5140a10a900a3f84e06193a83a98c 100644 (file)
 
      ******************************************************************** -->
 
-<!-- ==================================================================== -->
-<xsl:param name="javahelp.encoding" select="'ISO-8859-1'"/>
-
-<doc:param name="javahelp.encoding" xmlns="">
-<refpurpose>Character encoding to use in control files for Java Help.</refpurpose>
-<refdescription>
-<para>Java Help crashes on some characters when written as character
-references. In that case you can select appropriate encoding here.</para>
-</refdescription>
-</doc:param>
 
 <!-- ==================================================================== -->
 
diff --git a/xsl/params/javahelp.encoding.xml b/xsl/params/javahelp.encoding.xml
new file mode 100644 (file)
index 0000000..eec38f9
--- /dev/null
@@ -0,0 +1,31 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+         xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:xi="http://www.w3.org/2001/XInclude"
+          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          version="5.0" xml:id="javahelp.encoding">
+<refmeta>
+<refentrytitle>javahelp.encoding</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>javahelp.encoding</refname>
+<refpurpose>Character encoding to use in control files for JavaHelp.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="javahelp.encoding.frag">
+<xsl:param name="javahelp.encoding" select="'iso-8859-1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+  
+<para>JavaHelp crashes on some characters when written as character
+references. In that case you can use this parameter to select an appropriate encoding.</para>
+  
+</refsection>
+</refentry>
+
+
+