This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FO/FOP Query - Numbered List


You wrote:

>         <fo:list-item-label start-indent="1em">
>             <fo:block>
>                 <xsl:number/>.
>             </fo:block>
>         </fo:list-item-label>
>         <fo:list-item-body>
>             <fo:block>
>                 <xsl:apply-templates/>
>             </fo:block>
>         </fo:list-item-body>

In general, it's a good idea to start with:

<fo:list-item-label end-indent="label-end()">
...
</fo:list-item-label>

<fo:list-item-body start-indent="body-start()">
...
</fo:list-item-body>

So you are sure that the label and the body are laid out side by side.
Usual caveats about FOP apply.

Max.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]