This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: <xsl:for-each> Looping help please


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]