[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Looping help please
Subject: Re: [xsl] <xsl:for-each> Looping help please
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 02 May 2002 21:47:26 +0200
|
Zoe Peng wrote:
Hi,
Please help for looping.
I am going to crate a query like this:
<a href="http://test/test?SID=7001&SYM=AMGN">AMGN</a>
<a href="http://test/test?SID=7001&SYM=DELL">DELL</a>
Declare a key:
<xsl:key name="query" match="querykeyword"
use="concat(@name,';',@id)"/>
ans the global parameters
<xsl:param name="name"/>
<xsl:param name="in"/>
Retrieve the matching querykeyword:
select="key('query',($name,';',$id)"
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|