[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Linking acronym to a glossary entry


Subject: Linking acronym to a glossary entry
From: DPawson@xxxxxxxxxxx
Date: Tue, 31 Aug 1999 15:07:23 +0100

given

<p>blah <acronym>RNIB</acronym> blah </p>


....

<glossary>
 <term>RNIB</term><defn> Royal </defn>
 ....

</glossary>

Note that I have no ID attribute on the term.


is it possible to create a link between 
the use of the acronym in the p element
and the term element in the glossary?

I'm OK using generate-id() on the glossary term,
but I'm stuck on generating the <a href contents ....
I (think  I) need to 
1. find the matching term  (with what construct?)
2. then use generate-id(.)

How to   find the matching term then use the local 
context to generate the id.

Any help appreciated.

regards, DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread