Re: List-Item-Label with Character doesn't work

Hussein Shafie <[email protected]> Thu, 16 May 2019 19:15:06 +0200
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
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=3D"xfc:label-format">
                                 <xsl:value-of select=3D"'&#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#l=
ists



On 05/15/2019 01:03 PM, Alex Elliott wrote:
>
>
> I=92m currently evaluating your XSL-FO Converter application and wanted to
> let you know about an issue I=92ve encountered with the use of
> =91fo:character=92 in a list-item-label section.
>
>
>
> The following excerpt of xslt works when using Apache fop and the label
> character is enclosed in an =91fo:character=92 tag but doesn=92t work with
> xmlmind (list-item-body purposely excluded from the code):
>
>
>
> <fo:list-block provisional-label-separation=3D"7mm">
>
>                 <xsl:attribute name=3D"provisional-distance-between-start=
s">
>
>                                 <xsl:value-of select=3D"'3mm'" />
>
>                 </xsl:attribute>
>
>                 <xsl:attribute name=3D"xfc:label-format">
>
>                                 <xsl:value-of select=3D"'&#x2022;'" />
>
>                 </xsl:attribute>
>
>                 <fo:list-item>
>
>                                 <!-- insert a bullet -->
>
>                                 <fo:list-item-label
> end-indent=3D"label-end()">
>
>                                                 <fo:block
> line-stacking-strategy=3D"font-height" text-align=3D"end">
>
>
> <fo:character character=3D"&#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 =91fo:character=92 and put the label character inside the
> block tag it works correctly in xmlmind as shown below:
>
>
>
> <fo:list-block provisional-label-separation=3D"7mm">
>
>                 <xsl:attribute name=3D"provisional-distance-between-start=
s">
>
>                                 <xsl:value-of select=3D"'3mm'" />
>
>                 </xsl:attribute>
>
>                 <xsl:attribute name=3D"xfc:label-format">
>
>                                 <xsl:value-of select=3D"'&#x2022;'" />
>
>                 </xsl:attribute>
>
>                 <fo:list-item>
>
>                                 <!-- insert a bullet -->
>
>                                 <fo:list-item-label
> end-indent=3D"label-end()">
>
>                                                 <fo:block
> line-stacking-strategy=3D"font-height" text-align=3D"end">&#x2022;</fo:bl=
ock>
>
>                                 </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