|
Subject: Re: Not grokking keys... From: James Clark <jjc@xxxxxxxxxx> Date: Thu, 22 Apr 1999 20:11:37 +0700 |
Maybe this will help. Given a declaration
<xsl:key name="d" match="div" use="title"/>
then
<xsl:value-of select="keyref('d',@ref)"/>
will do the same as
<xsl:variable name="t" expr="@ref"/>
<xsl:value-of select="//div[title=$t]"/>
(assuming a div element has one title child).
James
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Not grokking keys..., James Clark | Thread | RE: Not grokking keys..., Laurie Mann |
| Re: Isn't it possible to use XSL to, John E. Simpson | Date | Re: New XT release, james anderson |
| Month |