xsl-list
[Top] [All Lists]

Re: fo:list-block problem

2004-06-01 08:32:18
At 2004-06-01 17:20 +0200, Markus Gamperl wrote:
I'm sorry but i don't understand your suggestion - could you please give me
an example? (or change my example template)

I hope this example helps:

  <block xmlns="http://www.w3.org/1999/XSL/Format"; font-size="20pt">
    <block>Mimic a list using side floats</block>
    <block intrusion-displace="block">
      <float float="start"><block>1.1.1&#xa0;</block></float>
      Here is a long body with a short label to the start
      side of the page with some wrapping going
      on to show the effect on the label.
    </block>
    <block intrusion-displace="block">
      <float float="start"><block>1.1.1.1.1.1&#xa0;</block></float>
      Here is a long body with a longer label to the start
      side of the page with some wrapping
      going on to show the effect on the label.
    </block>
  </block>

................... Ken

> >Or what would you suggest for this problem?
>
> Using a side float for the item label and a regular block for the item
> body, but not use the list construct.  You can influence the width of the
> side float, which impacts on the width of the item body.



--
Public courses: Spring 2004 world tour of hands-on XSL instruction
Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004

World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



<Prev in Thread] Current Thread [Next in Thread>