- From: Giannetti, Fabio <Fabio_Giannetti@hplb.hpl.hp.com>
- Date: Mon, 25 Feb 2002 08:54:30 -0000
- To: www-xsl-fo@w3.org
Hi David, I think you need to specify the start-indent property to get indentation on the text. So replace margin-left="20pt" with start-indent="20pt". Fabio > -----Original Message----- > From: david aumueller [mailto:www-xsl-fo@w3.org] > Sent: 24 February 2002 23:27 > To: www-xsl-fo@w3.org > Subject: increasing indent > > > 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:54:34 UTC