]> git.stg.codes - stg.git/blob - doc/xslt/params/graphic.default.extension.xml
Correcting code
[stg.git] / doc / xslt / params / graphic.default.extension.xml
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="graphic.default.extension">
7 <refmeta>
8 <refentrytitle>graphic.default.extension</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>graphic.default.extension</refname>
13 <refpurpose>Default extension for graphic filenames</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="graphic.default.extension.frag"><xsl:param name="graphic.default.extension"/></src:fragment>
18 </refsynopsisdiv>
19
20 <refsection><info><title>Description</title></info>
21
22 <para>If a <tag>graphic</tag> or <tag>mediaobject</tag>
23 includes a reference to a filename that does not include an extension,
24 and the <tag class="attribute">format</tag> attribute is
25 <emphasis>unspecified</emphasis>, the default extension will be used.
26 </para>
27
28 </refsection>
29 </refentry>