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

Re: ACTION-2163: Spec up a root element

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 27 Mar 2018 15:47:13 +0200
To: public-xformsusers@w3.org, "XForms Users Community Group Issue Tracker" <sysbot+tracker@w3.org>
Message-ID: <op.zgje8zyhsmjzpq@steven-xps>
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 13:48:00 UTC

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