The interact.xml file format

Descriptions

The XML elements are described in the following generic format:

<namespace:element
	attribute=
	attribute=
	…
>
	<namespace:subelement/>
	<namespace:subelement/>
	…
</namespace:element>

The following notation is used to indicate how often subelements occur.

Notation Description At least At most
(…)? Element is optional 0 1
(…)+ Element occurs at least once 1 -
(…)* Element can repeat more than once 0 -
(…|…) Select one element N/A N/A

Example

<x:test
	req=
	( opt= )?
>
	<y:something/>
	( <y:else/> )*
</x:text>

Defines an element x: text that has a required attribute req= and an optional attribute opt=. It always contains an subelement <y:something> and zero, one or more <y:else> elements.

Namespaces

Namespaces are used throughout the XML structures. Their definitions are omitted from the attribute lists in this document.

The following namespaces are used in the generated interact.xml files.

xmlns URL Description
itp http://www.aia-itp.com/3.1/interact The structures described in this document
xforms http://www.w3.org/2002/xforms XForms 1.0
xsd http://www.w3.org/2001/XMLSchema XMLSchema datatypes
type http://example.info/types Used for internally defined datatypes

Examples

Examples only show the relevant parts of the XForms XML structure. Nested XML elements that do not add relevant information are collapsed and shown as <subelemet/>.