W3C home > Mailing lists > Public > public-xformsusers@w3.org > April 2018

[UPDATED] Summary of elements that carry @value in XForms 2 Re: Issues with respect to <output/> mixed content.

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 25 Apr 2018 14:17:23 +0200
To: " XForms" <public-xformsusers@w3.org>, "Steven Pemberton" <steven.pemberton@cwi.nl>
Message-ID: <op.zh00e9xgsmjzpq@steven-xps>
Summary of elements that carry @value in XForms 2

*=exception to the rule "@value overrides element content".
?= Should we deprecate?

  ELEMENT                 CONTENT   EXAMPLE

*function/result         Empty     <result value="math:power(1+$sqrt5,  
*function/var            Empty     <var name="sqrt5" value="math:sqrt(5)"/>

  label                   PCDATA
  hint                    PCDATA
  help                    PCDATA
  alert                   PCDATA

*output                  -
*output/mediatype[D]     EMPTY

  select¹/item            <value/> or PCDATA
                                    <item label="Credit">cc</item>
                                    <item label="Credit" value="'cc'"/>
                                    <item label="Credit"><value  
  select¹/value           PCDATA
*select¹/itemset         <value/>

  submission/resource[D]  PCDATA
  submission/method[D]    PCDATA
*submission/header       <value/>
                                    <header name="Accept"
?submission/header/name  PCDATA    DEPRECATE?
?submission/header/value PCDATA    DEPRECATE?

  setvalue                PCDATA
  action/param            PCDATA

  toggle/case             PCDATA
  setfocus/control        PCDATA

  dispatch/name[D]        PCDATA
  dispatch/targetid[D]    PCDATA
  dispatch/delay[D]       PCDATA
  dispatch/property       PCDATA

  load/resource[D]        PCDATA
  message                 PCDATA
Received on Wednesday, 25 April 2018 12:18:01 UTC

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