This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Multiple Element Values
- To: xsl-list at mulberrytech dot com
- Subject: Re: Multiple Element Values
- From: Rhonda Fischer <rhonda at n-space dot com dot au>
- Date: Thu, 20 Apr 2000 08:21:36 +0000
- Organization: N-Space
- Reply-To: xsl-list at mulberrytech dot com
Dear Michael,
I have included a means of displaying the values inside the
recursive template and I am very happy with the
resulting algorithm. Thank you very much for your assistance.
I have one outstanding question: on outputting the
values I am receiving empty fields (instead of strings and numbers)
and NaN fields (instead of calculated fields).
I understand that NaN represents a string where I was hoping
a number would appear?
.....
<xsl:param name="product_fragment" select="//Components/Product"/>
.....
<xsl:variable name="first" select="$product_fragment[1]"/>
<xsl:variable name="cost" select="$first/Qty * $first/Price"/>
......
<TableRow>
<TableData><xsl:value-of select="$first/Desc"/></TableData>
<TableData><xsl:value-of select="$first/Qty"/></TableData>
......
<TableData><xsl:value-of select="$cost"/></TableData>
</TableRow>
.......
Is there some reading material that you might be able to direct me
to or some suggestions?
Again Thank you kindly
Rhonda
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list