Calculations

<instance>
  <my:order>
    <my:item>
      <my:amount />
      <my:discount />
    </my:item>
  </my:order>
</instance>
<bind nodeset="my:item/my:discount" 
      calculate="../my:amount * 0.1"
      type="xsd:decimal" />

Previous | Next | Top | Cafe con Leche

Copyright 2005, 2008 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 17, 2005