- 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>
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.
So
<instance>
<data xmlns="">
<c/>
</data>
</instance
<switch caseref="c">
<case id="a" name="b">...</case>
<case id="b" name="a">...</case>
</switch>
Then <setvalue ref="c" value="'a'"/>
and <toggle case="a"/>
would select different cases.
Right?
Steven
Received on Tuesday, 8 November 2016 13:41:59 UTC