Subject: RE: Retrieveing elements and Multiplying the values. From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx> Date: Thu, 6 Apr 2000 08:45:57 -0700 |
This is one way to do what u need <xsl:template match="BaseItemDetail"> <xsl:variable name="test1" select="Quantity/Qty/text()"/> <xsl:variable name="test2" select="BuyerExpectedUnitPrice/Price/UnitPrice/text()"/> <xsl:value-of select="$test1 * $test2"/> </xsl:template> Francis > -----Original Message----- > From: Garry Fisher [mailto:gfisher@xxxxxxxxxxxxx] > > I want to use XSL to retrieve the quantity and unit price > then I want to > multiply the 2 values and output the result in an HTML > document. Any help > would be much appreciated. > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Retrieveing elements and Multiplyin, Garry Fisher | Thread | concat with <A HREF=, Peter Friedland |
RE: Netscape 6 lack of XSL support, Timm, Sean | Date | comma separated data, Charlie Kaiman |
Month |