Subject: RE: Linking acronym to a glossary entry From: Kay Michael <Michael.Kay@xxxxxxx> Date: Wed, 1 Sep 1999 10:27:08 +0100 |
> given > > <p>blah <acronym>RNIB</acronym> blah </p> > > .... > > <glossary> > <term>RNIB</term><defn> Royal </defn> > .... > > </glossary> > > is it possible to create a link between > the use of the acronym in the p element > and the term element in the glossary? > My first though was to use key() for this. But what's wrong with: <xsl:template match="glossary/term"> <a name="{.}"/> ... </xsl:template> <xsl:template match="acronym"> <a href="#{.}"><xsl:apply-templates/></a> </xsl:template> (Unless perhaps some of your glossary entries are not valid in URLs: in which case revert to key() and generate-id().) Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Linking acronym to a glossary e, DPawson | Thread | RE: Linking acronym to a glossary e, DPawson |
RE: how to refer to original source, Kay Michael | Date | RE: comments on XSLT draft 13 Augus, Kay Michael |
Month |