W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2002

increasing indent

From: david aumueller <www-xsl-fo@w3.org>
Date: Sun, 24 Feb 2002 18:27:21 -0500 (EST)
Message-Id: <5.1.0.14.2.20020225001637.00bd17a0@pop.puretec.de>
To: www-xsl-fo@w3.org
hi -- requesting help in the following subject:

i want to have specify with each fo:block an increasing indent, i.e. 
something like that:

xxxxxx
   xxxxxx
     xxxxxx
     xxxxxx
   xxxxxx
     xxxxxx
xxxxxx
   xxxxxx

what is the right fo:block attribute to be able to specify within each 
block the same amount, let's say 20pt and have twice and thrice 20pt of 
indent in the second and third level respectively?

tia, david


simplified as endless loop:

<xsl:template match="foo">
   <fo:block margin-left="20pt">
     <fo:text>bar</fo:text>
     <xsl:apply-templates select="foo"/>
   </fo:block>
</xsl:template>

the attribute in question here is "margin-left".
Received on Monday, 25 February 2002 03:40:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT