Re: ACTION-2163: Spec up a root element

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