Set context node explicitly to clean up expressions

Long and cryptic expressions like:
  <xf:setvalue xf:bind="b-total" xf:value="if(../total='', if(../price!='' and
.../amount!='', ../price * ../amount - ../discount, .), .)"/>

could be cleaned up if spec included simple 'context' attribute:

  <xf:setvalue xf:bind="b-total" xf:context="../"
   xf:value="if(total='', if(price!='' and amount!='', price * amount -
discount, price), price)"/>

Is there a solution for this problem?
Could this or something like that be added to 1.1?

Guntis

Received on Tuesday, 13 February 2007 04:46:20 UTC