RE: increasing indent

David,
	I will use the text-indent, if you need to add to the current
element the parent value, you can use the from-parent() or
from-nearest-specified-value() property. This works fine with FOP 0.20.2
(see attachment)

								Fabio

> -----Original Message-----
> From: david aumueller [mailto:w3.org@huah.org]
> Sent: 25 February 2002 13:15
> To: www-xsl-fo@w3.org
> Subject: RE: increasing indent
> 
> 
> sorry to be somewhat inexplicitly -- i guess the following 
> example explains 
> better what i want:
> 
> sth like
> 
> <fo:block margin-left="0.5in">
> foobar-1
>    <fo:block margin-left="0.5in">
> foobar-2
>      <fo:block margin-left="0.5in">
> foobar-3
>      </fo:block>
>    </fo:block>
> </fo:block>
> 
> 
> should render as:
> 
> foobar-1
>     foobar-2
>        foobar-3
> 
> not (as it does right now):
> 
> foobar-1
> foobar-2
> foobar-3
> 
> 
> now we're in, david
> 
> 
> 
> david aumueller, 12:51 25.02.2002:
> >Thanx, but neither start-indent nor text-indent work 
> "additive", so I get
> >
> >> > xxxxxx
> >> >   xxxxxx
> >> >   xxxxxx
> >> >   xxxxxx
> >> >   xxxxxx
> >> >   xxxxxx
> >> > xxxxxx
> >> >   xxxxxx
> >
> >instead of deeper leveled paragraphs (see below).
> >
> >So, how can I add 20pt to margin-left (or any other 
> indentation-attribute) 
> >with each level?
> >
> >tia, David
> >
> >
> >
> >At 09:56 25.02.2002, Giannetti, Fabio wrote:
> >>David,
> >>         sorry but I mean text-indent ....
> >>This works only for the first line, but I guess is what you need.
> >>
> >>                                 Fabio
> >>
> >> > -----Original Message-----
> >> > 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 specified 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 08:49:19 UTC