~todd-deshane/openstack-manuals/working

« back to all changes in this revision

Viewing changes to doc/build/docbook-xsl-1.76.1/params/default.float.class.xml

  • Committer: Anne Gentle
  • Date: 2011-04-04 17:54:52 UTC
  • Revision ID: anne@openstack.org-20110404175452-gtth3hfrniqhpp5o
Switching from Ant builds to Maven, still working out kinks but should be functional

Show diffs side-by-side

added added

removed removed

Lines of Context:
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="default.float.class">
7
 
<refmeta>
8
 
<refentrytitle>default.float.class</refentrytitle>
9
 
<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10
 
</refmeta>
11
 
<refnamediv>
12
 
<refname>default.float.class</refname>
13
 
<refpurpose>Specifies the default float class</refpurpose>
14
 
</refnamediv>
15
 
 
16
 
<refsynopsisdiv>
17
 
<src:fragment xml:id="default.float.class.frag">
18
 
<xsl:param name="default.float.class">
19
 
  <xsl:choose>
20
 
    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
21
 
    <xsl:otherwise>before</xsl:otherwise>
22
 
  </xsl:choose>
23
 
</xsl:param>
24
 
</src:fragment>
25
 
</refsynopsisdiv>
26
 
 
27
 
<refsection><info><title>Description</title></info>
28
 
 
29
 
<para>Selects the direction in which a float should be placed. for
30
 
xsl-fo this is before, for html it is left. For Western texts, the
31
 
before direction is the top of the page.</para>
32
 
 
33
 
</refsection>
34
 
</refentry>