Has anyone has any success using the float-scope attribute on the fo:float element?
I'm currently working on setting up Table Title Continued lines and within the Table element. I need the float-scope to be set for the table element but am not having any luck getting it to work. All other attributes work as expected. I have the float-scope set to read the id of the table element and when I do a transform it is producing the correct id but when I print preview in arbortext it repeats the Title Continued line on every table throughout the entire section. Like the scope is set for the chapter element and not the table element.
Here is my code:
<xsl:template match="imm:table/imm:title">
<fo:block xsl:use-attribute-sets="space text" text-align="center" start-indent="0pt">
<xsl:value-of select="."/>
fo:block>
<fo:float atixslfoext:float-class-reference="tabtitle" atixslfoext:float-scope="{parent::imm:table/@id}">
<fo:block xsl:use-attribute-sets="space text" text-align="center" start-indent="0pt">
<xsl:value-of select="."/>
<xsl:text> Continuedxsl:text>
fo:block>
fo:float>
xsl:template>
Any help wouldbe greatly appreciately.
Sarah
Thanks to PaulG. thisissue has been resolved.
In order for thefloat-scope to workthetitle block has to be outside the table block. I had the title block inside the table block.
Correct Way:
<fo:block id="tabf1">
<fo:block>The table title</fo:block>
<fo:float atixslfoext:float-class-reference="tabtitle"</font">
atixslfoext:float-scope="tabf1">
The table title continued
</fo:float>
<fo:table>
<fo:table-column ...=">
...
</fo:table>
</fo:block>
Incorrect Way:
<fo:table>
<fo:block>The table title</fo:block><fo:float atixslfoext:float-class-reference="tabtitle"</p">
atixslfoext:float-scope="tabf1">
The table title continued
</fo:float>
<fo:table-column ...=">
...
</fo:table>
Thanks so much for all the responses I got. I always have great success with Adepters.
Sarah Copley