OLD | NEW |
| (Empty) |
1 <refentry xmlns="http://docbook.org/ns/docbook" | |
2 xmlns:xlink="http://www.w3.org/1999/xlink" | |
3 xmlns:xi="http://www.w3.org/2001/XInclude" | |
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" | |
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
6 version="5.0" xml:id="chunked.filename.prefix"> | |
7 <refmeta> | |
8 <refentrytitle>chunked.filename.prefix</refentrytitle> | |
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> | |
10 </refmeta> | |
11 <refnamediv> | |
12 <refname>chunked.filename.prefix</refname> | |
13 <refpurpose>Filename prefix for chunked files</refpurpose> | |
14 </refnamediv> | |
15 | |
16 <refsynopsisdiv> | |
17 <src:fragment xml:id="chunked.filename.prefix.frag"> | |
18 <xsl:param name="chunked.filename.prefix"></xsl:param> | |
19 </src:fragment> | |
20 </refsynopsisdiv> | |
21 | |
22 <refsection><info><title>Description</title></info> | |
23 | |
24 <para>If specified, the <parameter>chunked.filename.prefix</parameter> | |
25 parameter specifies a prefix string to add to each generated chunk filename. | |
26 For example:</para> | |
27 <programlisting><xsl:param name="chunked.filename.prefix">admin-<xsl:pa
ram></programlisting> | |
28 <para>will produce chunked filenames like:</para> | |
29 <programlisting>admin-index.html | |
30 admin-ch01.html | |
31 admin-ch01s01.html | |
32 ... | |
33 </programlisting> | |
34 | |
35 <caution><para>Trying to use the <parameter>base.dir</parameter> | |
36 parameter to add a string prefix (by omitting the trailing slash) | |
37 no longer works (it never worked completely anyway). That parameter | |
38 value should contain only a directory path, and | |
39 now gets a trailing slash appended if it was omitted from the param.</para></cau
tion> | |
40 </refsection> | |
41 </refentry> | |
OLD | NEW |