How would I write an XPath statement,executed from the 'Order' level to access the following:
I wrote the following, but since I am executing this from the
Orders level, it seems to get confused on the Cardinality.
How should I write this ?
fn:sum($Orders/item[type = 'Shoe']/quantity*price)