xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Retrieveing elements and Multiplying the values.


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
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor