Re: [xsl] start-indent

Subject: Re: [xsl] start-indent
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Oct 2009 16:58:05 -0400
At 2009-10-27 13:09 -0700, Mark Wilson wrote:
Hi all,
I know I can do this:
<fo:block start-indent="4em" text-indent="-4em">

but is it possible to make something like this work?
<fo:block>
........
<fo:wrapper start-indent="4em" text-indent="-4em">

So that the wrapper stuff is indented within the block.

Can you describe your requirement in more detail? Your <fo:wrapper> is going to add those block-oriented properties to any block content inside, but if you only have inline characters inside, then you won't see any effect.


If so, how?

If you are expecting to write:


<fo:block>abc<fo:wrapper (indents)>def ghi</fo:wrapper>jkl</fo:block>

... then what would you have wanted to see?

. . . . . . . . . Ken


-- Upcoming: hands-on XSLT, XQuery and XSL-FO Washington DC Nov 2009 Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread