[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl list item writes over the label?

Subject: Re: xsl list item writes over the label?
From: josh higgins <doopsterus@xxxxxxxxx>
Date: Thu, 31 Mar 2005 14:05:41 -0800 (PST)
josh kimber
Thanks!  However, I think that I am using the wrong
sturcture b/c I am wanting the items to be right
justified.  So I might need to use a table instead. 
What do you think?  Where is this Ken's Book?  Where
can I get a copy of it?

I am new to xsl and I am going to have to become very
familar with it so a book would be a good investment.


Thanks!
Josh

--- Eliot Kimber <ekimber@xxxxxxxxxxxxxxxxxxx> wrote:
> josh higgins wrote:
> > I am trying to use a list and the list-item is
> writing
> > over the list-label.  Any ideas?
> 
> (I assume that in your real data the elements are
> not actually empty but 
> nest.)
> 
> You have to set the end-indent of the list item
> label and the 
> start-indent of the list item block so that they
> don't overlap. It took 
> me forever to finally figure out this aspect of FO
> (thanks to Ken's FO 
> book).
> 
> The trick is that you set the provisional label
> length and label-to-body 
> gap on the list block and then use the "label-end()"
> and "body-start()" 
> functions to calculate the necessary indents:
> 
>   <fo:list-block provisional-label-separation="4mm"
>       provisional-distance-between-starts="20mm">
>     <fo:list-item>
>      <fo:list-item-label end-indent="label-end()">
>        ...
>      </fo:list-item-label>
>      <fo:list-item-body start-indent="body-start()">
>         ...
>      </fo:list-item-body>
>    </fo:list-block>
> 
> 
> This creates a 20mm label "column" and reserves 4mm
> gutter out of that 20mm.
> 
> Cheers,
> 
> Eliot
> 
> -- 
> W. Eliot Kimber
> Professional Services
> Innodata Isogen
> 9390 Research Blvd, #410
> Austin, TX 78759
> (512) 372-8155
> 
> ekimber@xxxxxxxxxxxxxxxxxxx
> www.innodata-isogen.com
> 
> 


		
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.