[xsl] back-referencing footnotes?

Subject: [xsl] back-referencing footnotes?
From: John Burke <jb@xxxxxxxxxxxx>
Date: Mon, 6 Jun 2005 16:14:08 -0700
I'm using xt-2002* via XEmacs/xslide to transform xml into html
(see resulting files here: www.aic-faic.org/jaic/)

And I'm seriously stuck on this one:

My footnote references look like this:
  
<TABLE>
  <TGROUP> 
    <THEAD> | <TBODY>
      <ROW>...
        <ENTRY>
          <FNR HREF="CH3TBL2FN1">&ast;</FNR> -or-
          <FNR HREF="CH3TBL2FN2">&ast;&ast;</FNR> etc..

And my footnotes are like this:

<TABLE>
  <TGROUP>...
    <TFOOT>
      <FN ID="CH3TBL2FN1">firstfootnotetext</FN>
      <FN ID="CH3TBL2FN2">secondfootnotetext</FN>

I want to resolve each table's FN@ID into the proper FNR matching
FNR@HREF, with results like this:

    &ast;  firstfootnotetext
    &ast;&ast;  secondfootnotetext

This is either really really simple, or...um, not.  I could disregard
the FNR and simply count, but I'm not certain the order is correct,
and I can't predict what the FNR symbol will be in any article

BTW, xt doesn't seem to like keys(), or I'm doing it wrong.


Thanks,

jb

Current Thread