source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/use.role.for.mediaobject.xml@ 64a2cd5

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 64a2cd5 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.9 KB
Line 
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="use.role.for.mediaobject">
7<refmeta>
8<refentrytitle>use.role.for.mediaobject</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>use.role.for.mediaobject</refname>
13<refpurpose>Use <tag class="attribute">role</tag> attribute
14value for selecting which of several objects within a mediaobject to use.
15</refpurpose>
16</refnamediv>
17
18<refsynopsisdiv>
19<src:fragment xml:id="use.role.for.mediaobject.frag">
20<xsl:param name="use.role.for.mediaobject" select="1"/>
21</src:fragment>
22</refsynopsisdiv>
23
24<refsection><info><title>Description</title></info>
25
26<para>If non-zero, the <tag class="attribute">role</tag> attribute on
27<tag>imageobject</tag>s or other objects within a <tag>mediaobject</tag> container will be used to select which object will be
28used.
29</para>
30<para>
31The order of selection when then parameter is non-zero is:
32</para>
33<orderedlist>
34<listitem>
35 <para>If the stylesheet parameter <parameter>preferred.mediaobject.role</parameter> has a value, then the object whose role equals that value is selected.</para>
36</listitem>
37<listitem>
38<para>Else if an object's role attribute has a value of
39<literal>html</literal> for HTML processing or
40<literal>fo</literal> for FO output, then the first
41of such objects is selected.
42</para>
43</listitem>
44<listitem>
45<para>Else the first suitable object is selected.</para>
46</listitem>
47</orderedlist>
48<para>
49If the value of
50<parameter>use.role.for.mediaobject</parameter>
51is zero, then role attributes are not considered
52and the first suitable object
53with or without a role value is used.
54</para>
55</refsection>
56</refentry>
Note: See TracBrowser for help on using the repository browser.