This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
<xsl:for-each> Looping help please
- From: "Zoe Peng" <zoe at allfools dot net>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 2 May 2002 14:55:39 -0400
- Subject: [xsl] <xsl:for-each> Looping help please
- Reply-to: xsl-list at lists dot mulberrytech dot com
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>
SID will be the querykeyword/@name; 7001 will be the querykeyword/@id
how can I approach this? Thanks.
xml file:
<level1 id="2" name="My Stocks">
- <level2 id="7001" name="AMGN">
<querykeyword id="7001" name="SID" />
<querykeyword id="AMGN" name="SYM" />
</level2>
- <level2 id="7001" name="DELL">
<querykeyword id="7001" name="SID" />
<querykeyword id="DELL" name="SYM" />
</level2>
</level1>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list