Subject: RE: [xsl] for-each question From: "Hillyard, Matthew" <matthew.hillyard@xxxxxxxxxx> Date: Thu, 26 Apr 2001 12:55:26 +0100 |
> Output: > Just a link to agenda.doc is returned and not both documents. Any > suggestions? > > Tanz > > Try looping through the documents as well using a nested <xsl:for-each>, something like: > <td colspan="3" width="363"> <xsl:for-each select="/eventsCalendar/eventRecord[eventID=$neweventID]/listDoc/"> <font face="Arial, Helvetica, sans-serif" color="#000000" size="1"> <xsl:for-each select="document[@href]"> <a> <xsl:attribute name="href"><xsl:value-of select="./@href"/></xsl:attribute> <xsl:value-of select="."/> </a> </xsl:for-each> > </font> > </xsl:for-each> > </td> > > Matt H ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] XPath and XLink for begin, Mengel Andre (FV/SLM | Thread | [xsl] more XSLTUK01 photos, Oliver Becker |
Re: [xsl] for-each question, Francis Norton | Date | [xsl] more XSLTUK01 photos, Oliver Becker |
Month |