|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Retrieveing elements and Multiplying the values.
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
|
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








