Subject: Re: for-each question
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 26 Apr 2001 12:49:04 +0100
|
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
|