Hi,

I'm currently evaluating your XSL-FO Converter application and wanted to let 
you know about an issue I've encountered with the use of 'fo:character' in a 
list-item-label section.

The following excerpt of xslt works when using Apache fop and the label 
character is enclosed in an 'fo:character' tag but doesn't work with xmlmind 
(list-item-body purposely excluded from the code):

<fo:list-block provisional-label-separation="7mm">
                <xsl:attribute name="provisional-distance-between-starts">
                                <xsl:value-of select="'3mm'" />
                </xsl:attribute>
                <xsl:attribute name="xfc:label-format">
                                <xsl:value-of select="'&#x2022;'" />
                </xsl:attribute>
                <fo:list-item>
                                <!-- insert a bullet -->
                                <fo:list-item-label end-indent="label-end()">
                                                <fo:block 
line-stacking-strategy="font-height" text-align="end">
                                                                <fo:character 
character="&#x2022;"/>
                                                </fo:block>
                                </fo:list-item-label>
                </fo:list-item>
</fo:list-block>

When using the above code in xmlmind each item is output as indented paragraph 
instead of list items.

If I remove the 'fo:character' and put the label character inside the block tag 
it works correctly in xmlmind as shown below:

<fo:list-block provisional-label-separation="7mm">
                <xsl:attribute name="provisional-distance-between-starts">
                                <xsl:value-of select="'3mm'" />
                </xsl:attribute>
                <xsl:attribute name="xfc:label-format">
                                <xsl:value-of select="'&#x2022;'" />
                </xsl:attribute>
                <fo:list-item>
                                <!-- insert a bullet -->
                                <fo:list-item-label end-indent="label-end()">
                                                <fo:block 
line-stacking-strategy="font-height" text-align="end">&#x2022;</fo:block>
                                </fo:list-item-label>
                </fo:list-item>
</fo:list-block>

Regards,

Alex Elliott

--
XMLmind FO Converter Support List
[email protected]
https://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to