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]

Re: for-each question




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


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