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

Re: ACTION-2163: Spec up a root element

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 27 Mar 2018 09:52:25 -0700
Message-ID: <CAAc0PEWHJe-kv6qymiP_LyG7=D_2yM8p+aZrnxFCy_AqkWjf0Q@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>, XForms Users Community Group Issue Tracker <sysbot+tracker@w3.org>
LGTM, although I wonder whether we really need to specify title/style/class
attributes.

On Tue, Mar 27, 2018 at 6:47 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> The form Element
>
> XForms is intended normally to be embedded in a host language, such as
> XHTML, ODF, or SVG. However, for cases where no host language is available,
> this element provides a root element to enclose the other XForms elements.
>
> Attributes
>
> title
> A string giving the title of the document.
>
> style
> The URL of a resource for styling instructions. The media type of the
> resource identifies the type of the language.
>
> class
> A string containing one or more names that can be matched by
> styling-languages.
>
> xml:lang
> A string specifying the natural language of the content.
>
> any foreign attribute
> Any attributes from other namespaces.
>
> Example
>
> <form title="Date" style="date.css" xmlns="http://www.w3.org/2002/xforms">
>    <model>
>       <date><today/></date>
>    </model>
>    <bind ref="today" calculate="local-date()"/>
>    <output ref="today"/>
> </form>
>
>
Received on Tuesday, 27 March 2018 16:53:09 UTC

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