OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: HTML generated for footnoteref not so nice ..


Hi all

I have XML like this::

  <para>Some text<footnote>
  <para id="footnote">This is a footnote.</para>
  </footnote></para>

  <para>Other text<footnoteref linkend="footnote" />
  </para>

The HTML that gets generated for the reference is::

  <p>Other text<sup>[<a
    href="#ftn.footnote"
    class="footnoteref">This is a footnote.</a>]</sup>
  </p>

The HTML that gets generated for the footnote is::

  <div class="footnote">
    <p><sup>[<a
      name="ftn.d4e1570"
      href="#d4e1570"
      class="para">1</a>] </sup>This is a footnote.
    </p>
  </div>

where d4e1570 is autogenerated.

Problems:

- the reference uses the wrong ID (the one in the XML doc, which is
  nowhere to be found in the generated HTML),
- the reference uses the footnote text as mark, in spite of TDG stating
  "It generates the same mark or link as the Footnote to which it
  points."

Is the DocBook XSLT for footnoteref a bit broken? Or am I doing
something wrong?

Regards,
-- 
jean                                              . .. .... //\\\oo///\\


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]