This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: for-each question
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] for-each question
- From: Francis Norton <francis at redrice dot com>
- Date: Thu, 26 Apr 2001 12:49:04 +0100
- References: <EBEKJPOMOCIKIIPPEBHBEEFGCBAA.tmohammad@entier-solutions.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Tanzila Mohammad wrote:
> Output:
> Just a link to agenda.doc is returned and not both documents. Any
> suggestions?
>
You've either made a typo, or you've assumed that xsl:for-each
automatically iterates through the *children* of the node-set returned
by its select attribute. It just iterates through the node-set. Try
<xsl:for-each
select="/eventsCalendar/eventRecord[eventID=$neweventID]/listDoc/document">
Untested but should work.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list