|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: retrieve data from #1 xml via data from #2 xml
Hi Walter,
Doh. The <xsl:for-each for the data should be *outside* the
row-creation:
<xsl:for-each select="$data">
<tr>
<xsl:variable name="datum" select="events/call_event" />
<xsl:for-each select="$columns">
<xsl:variable name="column" select="." />
<td>
<xsl:value-of select="$datum/*[name() = $column]" />
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
i.e. for each bit of data (interaction), create a row. Within the
row, for each column, create a cell.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








