W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016


From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 08 Nov 2016 14:41:23 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yql2y9u6smjzpq@steven-aspire-s7>
Just checking we agree on behaviour, since the spec is not completely  
unambiguous, and I want to fix that.

<toggle> works with case@id, and @caseref works with case@name.


     <data xmlns="">

  <switch caseref="c">
    <case id="a" name="b">...</case>
    <case id="b" name="a">...</case>

Then <setvalue ref="c" value="'a'"/>
and  <toggle case="a"/>

would select different cases.


Received on Tuesday, 8 November 2016 13:41:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:47 UTC