[xep-support] fo:list-block Automatic Numbering

From: Darren Munt <darrenm_at_ADDRESS_REMOVED>
Date: Tue Apr 06 2021 - 01:47:00 PDT

Is there a function or processing instruction in XEP I can use to automatically number items in a list block? The number sequence is determined only by the fo:list-item elements that exist within the block. I don't have an XML structure I can use to determine it using xsl:number or position(). The renderer would have to determine the item number based on it's position within the list-block and then supply the correct value in the output. I couldn't find anything so I suspect not, but just on the off chance I thought I would ask. Thanks.

Eg something like this:

<fo:list-block>
                <fo:list-item>
                                <fo:list-item-label>
                                                <fo:block>
                                                                <some call to a function/pi here />
                                                </fo:block>
                                </fo:list-item-label>
                <fo:list-item-body>
                                <fo-block>
                                                Some text
                                </fo:block>
                </fo:list-item-body>
                </fo:list-item>
</fo:list-block>

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Tue Apr 6 01:42:09 2021

This archive was generated by hypermail 2.1.8 : Tue Apr 06 2021 - 01:42:19 PDT