Subject: Re: Using fo with FOP
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Tue, 13 Jul 1999 16:47:33 +0800
|
> Is there someone who have a big example of a formatting tree wich work
with FOP ?
> In fact, I don't know wich tag can be use. For example I tried to use a
list like this :
> <fo:list-block>
> <fo:list-item>
> <fo:list-item-label>
> Hello
> </fo:list-item-label>
> <fo:list-item-body>
> World
> </fo:list-item-body>
> </fo:list-item>
> </fo:list-block>
> and when I see the result in the pdf file, I can see a white page.
The label and the body should contain block-level FOs. So the above should
be:
<fo:list-block>
<fo:list-item>
<fo:list-item-label>
<fo:block>Hello</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block>World</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
James
--
James Tauber / jtauber@xxxxxxxxxxx / www.jtauber.com
Maintainer of : www.xmlinfo.com, www.xmlsoftware.com and www.schema.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|