xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence M. Bandoian" <tere...@tmbsw.com>
Subject Re: Nested Bulleted Lists Problem
Date Sat, 05 Apr 2014 01:12:18 GMT
On 4/4/2014 8:06 PM, Terence M. Bandoian wrote:
> On 4/4/2014 7:49 PM, a3leggeddog wrote:
>> Hello -
>>
>> I am trying to convert a nested, bulleted list in HTML to XML-FO for 
>> output
>> as a PDF in Apache FOP. The HTML looks like this
>>
>> <ul>
>>     <li>Item Number1</li>
>>        <ul>
>>            <li>Sub-Item 1</li>
>>            <li>Sub-Item 2</li>
>>        </ul>
>>   </ul>
>>
>> All of the XSLT I have tried creates a with an embedded for the 
>> subitems.
>> FOP, however, complains that you can't have a list-block as a child of a
>> list-block. Is this an issue with FOP? Or, is that simply not valid 
>> XML-FO
>> and all of the XSLT examples are processing this construct incorrectly?
>>
>> If it's the later, what is the proper XML-FO to produce a nested set of
>> bullets like you would see in HTML?
>>
>> Any help would be greatly appreciated!
>>
>> Thanks!
>
> Hi-
>
> I'm not sure this would resolve the issue you're facing but I've 
> successfully nested <fo:list-block> elements by placing the child 
> <fo:list-block> inside the <fo:list-item-body> element of the parent 
> <fo:list-block>.
>
> Hope that helps.
>
> -Terence Bandoian


Actually, that should say inside the <fo:list-item-body> of an 
<fo:list-item> in the parent <fo:list-block>.

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message