Sorry but <fo:character> (https://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_character) is not supported by XMLmind XSL-FO Converter. See "XMLmind XSL-FO Converter Conformance Statement", https://www.xmlmind.com/foconverter/conformance.html

More generally, please take the time to read this document:

"How to adapt your existing XSLT stylesheet to the specificities of XMLmind XSL-FO Converter",
https://www.xmlmind.com/foconverter/adapt_xslt/adapt_xslt.html



---
PS:

---
                <xsl:attribute name="xfc:label-format">
                                <xsl:value-of select="'&#x2022;'" />
                </xsl:attribute>
---

is not really useful to make XMLmind XSL-FO Converter generate proper lists as bullet '&#x2022;' is the most commonly used list item marker.

See https://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#lists



On 05/15/2019 01:03 PM, Alex Elliott wrote:


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>



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

Reply via email to