treelike increasing indent

hi -- requesting help in the following subject:

with each embedded fo:block i want to have 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 example 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 Sunday, 24 February 2002 18:57:30 UTC