vendredi 4 avril 2014

XML-FO Nested List-Blocks


Vote count:

0




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!



asked 29 secs ago






Aucun commentaire:

Enregistrer un commentaire