私はxsl fo "footnote"の問題に直面しています。脚注の整列は整列方法を整えません。 脚注は左揃えでインデントしないようにします。 コーディングは、以下のとおりである: -xslの脚注の参考文献
本文: -
"<footnoteref refid="FN0001">1</footnoteref>"any action taken by the Central
Government under the Resolution of the Government of India, Planning Commission
bearing Notification Number A-43011/02/2009-Admin.
XSLT: -
<xsl:template match="footnoteref">
<xsl:variable name="fnoteid" select="@refid"/>
<fo:footnote>
<fo:inline font-size="70%" baseline-shift="super">
<xsl:apply-templates/>
</fo:inline>
<fo:footnote-body>
<fo:list-block provisional-label-separation="2.5mm" provisional-distance-between-starts="10mm">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block text-align="right" text-indent="0pt" margin-left="0pt" font-size="8.5" font-style="normal">
<xsl:value-of select="//footnote[@id=$fnoteid]/footnum"/>
<xsl:choose>
<xsl:when test="$fnoteid = 1 to 9000"><xsl:text>.</xsl:text></xsl:when>
</xsl:choose>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block text-align="justify" text-indent="0pt" margin-left="0pt" font-size="8.5" font-style="normal">
<xsl:apply-templates select="//footnote[@id=$fnoteid]"/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:footnote-body>
</fo:footnote>
</xsl:template>
は私の脚注3月に会長の同意を受信
のように見えます25、2016、および
は2016年3月25日に会長の同意を受け、公表
3. Received the assent of the President on March
をしかし、私は
したい月に会長の同意を受信しました25、2016、および
は2016年3月25日に会長の同意を受け、
を公表月
に
「footnoteref」とその「footnote」の例としてXMLも含めてください。 "' test = "$ fnoteid = 1〜9000" '"の目的は何ですか? –