Sarah,
I haven't really messed with the Arbortext extensions for the FO, but one thing strikes me as seemingly out of place. What is the purpose of the 'ID' attribute here?
atixslfoext:float-scope="{parent::imm:table/@id}"
It seems you'd want to scope the element and not the attribute.
Just my something way less than two cents.
---- Sarah Copley <sarah.r.copley@uscg.mil> wrote:
> 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> Continued</xsl:text>
> </fo:block>
> </fo:float>
> </xsl:template>
>
> Any help would be greatly appreciately.
>
> Sarah
>
>
> ----------
I haven't really messed with the Arbortext extensions for the FO, but one thing strikes me as seemingly out of place. What is the purpose of the 'ID' attribute here?
atixslfoext:float-scope="{parent::imm:table/@id}"
It seems you'd want to scope the element and not the attribute.
Just my something way less than two cents.
---- Sarah Copley <sarah.r.copley@uscg.mil> wrote:
> 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> Continued</xsl:text>
> </fo:block>
> </fo:float>
> </xsl:template>
>
> Any help would be greatly appreciately.
>
> Sarah
>
>
> ----------