Re: switch

Hi Steven,

We use currently use the ref attribute to conditionally make the switch non-relevant. Example:

<xf:switch ref=”.[../payment-method = ‘credit’]”>…


If we re-purpose ref to also be the case-ref, this use case won’t work anymore…

Regards,

Nick Van den Bleeken
Product Evangelist 
 
On 08/11/2016, 14:22, "Steven Pemberton" <steven.pemberton@cwi.nl> wrote:

    I'm getting another feeling of deja vu here, but...
    
    Remind me why we need @caseref.
    
    <switch> already has @ref, which we use for nothing except relevance.
    Can't we continue to use it for relevance, but pointing to the caseref  
    node instead?
    
    Or is there a really pressing backwards compatibility issue?
    
    Steven
    
    

Received on Tuesday, 8 November 2016 13:50:50 UTC