To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83346





------- Additional comments from [EMAIL PROTECTED] Fri May 30 15:39:34 +0000 
2008 -------
look like not yet perfect - it show note-citation/text() on every node in
<note-body> so i wrote fix - see template name="write-text-node" (in body.xsl)

(i can rewrite this whole xslt to push model also known as template-driven xslt
model if somebody implement possibility to use xslt 2.0)

<xsl:template name="write-text-node">
                <xsl:param name="globalData"/>
                <xsl:param name="footnoteConfig"/>

                <xsl:apply-templates select="text:note-body/node()[1]">
                        <xsl:with-param name="globalData" select="$globalData"/>
                        <xsl:with-param name="footnotePrefix">
                                <xsl:element name="a">
                                        <xsl:attribute name="class">
                                                <xsl:value-of 
select="$footnoteConfig/@text:citation-style-name"/>
                                        </xsl:attribute>
                                        <xsl:attribute name="id">
                                                <xsl:value-of 
select="@text:id"/>
                                        </xsl:attribute>
                                        <xsl:attribute name="href">
                                                <xsl:value-of 
select="concat('#body_', @text:id)"/>
                                        </xsl:attribute>
                                        <xsl:apply-templates mode="textOnly" 
select="text:note-citation"/>
                                </xsl:element>
                        </xsl:with-param>
                </xsl:apply-templates>
                <xsl:apply-templates 
select="text:note-body/*[preceding-sibling::*]">
                        <xsl:with-param name="globalData" select="$globalData"/>
                </xsl:apply-templates>
        </xsl:template>

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to