|
Subject: [xsl] Simple variable problem From: Steve <stephen@xxxxxxxxx> Date: Wed, 31 May 2006 13:05:58 -0400 |
The below code attempts to go through a list of people and then grab their associated expenses from a dynamic ASP page serving up XML.
At the line which contains the asp file I use $id incorrectly as a marker. What is the correct syntax to get the value of the present value of 'id'
<xsl:for-each select="Records/Record">
<div id="record">
<div id="line1">
<span id="date">
<xsl:value-of select="date" />
</span>
<span id="expenses">
<xsl:value-of
select="document('http://www.server.org/getExpenses.asp?key=activity_id&val=$id&table=Expenses')"
/>
</span>
</div>
</div>
</xsl:for-each>Steve Yeago http://www.yeago.net
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Using result of one template , Rasoul Hajikhani | Thread | Re: [xsl] Simple variable problem, David Carlisle |
| [xsl] Using result of one template , Rasoul Hajikhani | Date | [xsl] Dynamically ordering/displayi, PCWETZEL |
| Month |