This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:for-each> Looping help please
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 02 May 2002 21:47:26 +0200
- Subject: Re: [xsl] <xsl:for-each> Looping help please
- References: <200205021855.g42Itdk10731@allfools.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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