Hi all,
I have to convert some XML in PDF using XSL-FO and FOP.
I have a problem with some XML that have a structure like this:
...
- <ul>
<li>aaaaa</li>
- <li>
- <ul>
<li>bbbbbbbbb</li>
<li>ccccccccccc</li>
<li>dddddddddd</li>
</ul>
</li>
</ul>
.....
I tried to consider it as simple lists but it doesn't work.
This is the XSL I've tried:
<xsl:template match="ol|ul">
<fo:list-block space-before="10pt">
<xsl:apply-templates/>
</fo:list-block>
</xsl:template>
<xsl:template match="ul/li">
<fo:list-item start-indent=".5in">
<fo:list-item-label start-indent=".25in" space-before="4pt">
<fo:block font-size="10pt">•</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block font-size="10pt"><xsl:apply-templates/></fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:template>
Any suggestion?
Thank you
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]