FiForms Form and Report Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://xml.fiforms.org/FiForms/
Version 1.2
Language en
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Documentation This is the XML Schema for XML FiForm definitions. Please use this namespace for fiform elements: http://xml.fiforms.org/FiForms/
More information at: http://xml.fiforms.org/FiForms/.

This Schema is distributed with FiForms, a collection of PHP classes designed to facilitate rapid development of web-database software

Copyright (C) 2003-2010 Daniel McFeeters

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
More information at: http://www.gnu.org/copyleft/lesser.html.

The original author of this library can be contacted at the following address:

Daniel McFeeters

312 Bill Neal Rd.

Whitley City, KY 42653-4209

email:info at fiforms dot net

You can find out more about FiForms Solutions and download the open-source (GPL) collection of FiForms PHP Classes from www.fiforms.org
More information at: http://www.fiforms.org.

Declared Namespaces

Prefix Namespace
Default namespace http://xml.fiforms.org/FiForms/
xml http://www.w3.org/XML/1998/namespace
html http://www.w3.org/1999/xhtml
app http://xml.fiforms.org/FiFormsApplication/
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema xml:lang="en" targetNamespace="http://xml.fiforms.org/FiForms/" version="1.2">
...
</xs:schema>
top

Global Schema Components

Simple Type: schemaVersion

Super-types: xs:string < schemaVersion (by restriction)
Sub-types: None
Name schemaVersion
Content
  • Base XSD Type: string
  • value comes from list: {'1.2'}
Schema Component Representation
<xs:simpleType name="schemaVersion">
<xs:restriction base="xs:string">
<xs:enumeration value="1.2"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: insert_type

Super-types: xs:string < insert_type (by restriction)
Sub-types: None
Name insert_type
Content
  • Base XSD Type: string
  • value comes from list: {'new'|'current'|'sheet'|'none'}
Schema Component Representation
<xs:simpleType name="insert_type">
<xs:restriction base="xs:string">
<xs:enumeration value="new"/>
<xs:enumeration value="current"/>
<xs:enumeration value="sheet"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: availablecontrols

Super-types: xs:string < availablecontrols (by restriction)
Sub-types: None
Name availablecontrols
Content
  • Base XSD Type: string
  • value comes from list: {'all'|'nav'|'delete'|'new'|'nav,new'|'new,delete'|'nav,delete'|'none'}
Documentation Possible combinations of controls allowed in whichControls attribute of fiform element
Schema Component Representation
<xs:simpleType name="availablecontrols">
<xs:restriction base="xs:string">
<xs:enumeration value="all"/>
<xs:enumeration value="nav"/>
<xs:enumeration value="delete"/>
<xs:enumeration value="new"/>
<xs:enumeration value="nav,new"/>
<xs:enumeration value="new,delete"/>
<xs:enumeration value="nav,delete"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Element: fiform

Name fiform
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This is the root element of a FiForm definition. Attributes of this element affect the behaviour and appearance of the form and define permissions.
XML Instance Representation
<fiform
version="schemaVersion [1] ?"
window="anySimpleType [0..1] ?"
menubar="yes_no [0..1] ?"
toolbar="yes_no [0..1] ?"
scrollbars="yes_no [0..1] ?"
resizable="yes_no [0..1] ?"
location="yes_no [0..1] ?"
width="xs:integer [0..1] ?"
height="xs:integer [0..1] ?"
ctlPosition="navlink_positions [0..1] ?"
svctlPosition="svlink_positions [0..1] ?"
viewsAllowed="allowed_view [0..1] ?"
defaultView="default_vew [0..1] ?"
allowView="yes_no [0..1] ?"
allowInsert="yes_no [0..1] ?"
autoInsert="yes_no [0..1] ?"
allowUpdate="yes_no [0..1] ?"
insert="insert_type [0..1] ?"
whichControls="availablecontrols [0..1] ?"
recordLimit="xs:integer [0..1] ?">
<title> ... </title> [1]
<summary> ... </summary> [0..1]
<created> ... </created> [0..1]
<copyright> ... </copyright> [0..1]
<license> ... </license> [0..1]
<security> ... </security> [0..1]
<connect> ... </connect> [0..1]
<param> ... </param> [0..*]
<formSearch> ... </formSearch> [0..1]
<query> ... </query> [0..*]
Start Sequence [0..*]
Start Choice [1]
<code> ... </code> [1]
<iText> ... </iText> [1]
<iNumber> ... </iNumber> [1]
<iROText> ... </iROText> [1]
<iHeading> ... </iHeading> [1]
<iHidden> ... </iHidden> [1]
<iTextArea> ... </iTextArea> [1]
<iDateText> ... </iDateText> [1]
<iDateTime> ... </iDateTime> [1]
<iCheck> ... </iCheck> [1]
<iDBSelect> ... </iDBSelect> [1]
<iLink> ... </iLink> [1]
<iFile> ... </iFile> [1]
<iSubform> ... </iSubform> [1]
<iCustomInput> ... </iCustomInput> [1]
<iUUID> ... </iUUID> [1]
<iContainer> ... </iContainer> [1]
<iTabGroup> ... </iTabGroup> [1]
<input> ... </input> [1]
<if> ... </if> [1]
Allow any elements from a namespace other than this schema's namespace (skip validation). [1]
End Choice
End Sequence
<wrapper> ... </wrapper> [0..1]
</fiform>
Schema Component Representation
<xs:element name="fiform">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" maxOccurs="1" minOccurs="1"/>
<xs:element ref="summary" maxOccurs="1" minOccurs="0"/>
<xs:element ref="created" maxOccurs="1" minOccurs="0"/>
<xs:element ref="copyright" maxOccurs="1" minOccurs="0"/>
<xs:element ref="license" maxOccurs="1" minOccurs="0"/>
<xs:element ref="security" maxOccurs="1" minOccurs="0"/>
<xs:element ref="connect" maxOccurs="1" minOccurs="0"/>
<xs:element ref="param" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="formSearch" maxOccurs="1" minOccurs="0"/>
<xs:element ref="query" maxOccurs="unbounded" minOccurs="0"/>
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:group ref="controls"/>
</xs:sequence>
<xs:element ref="wrapper" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="version" type="schemaVersion" use="required"/>
<xs:attributeGroup ref="windowattributes"/>
<xs:attribute name="ctlPosition" type="navlink_positions" default="bottom"/>
<xs:attribute name="svctlPosition" type="svlink_positions" default="right"/>
<xs:attribute name="viewsAllowed" type="allowed_view" default="both"/>
<xs:attribute name="defaultView" type="default_vew" default="sheet" use="optional"/>
<xs:attribute name="allowView" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="allowInsert" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="autoInsert" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="allowUpdate" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="insert" type="insert_type" default="new"/>
<xs:attribute name="whichControls" type="availablecontrols" default="all"/>
<xs:attribute name="recordLimit" type="xs:integer" default="20"/>
</xs:complexType>
</xs:element>
top

Element: reportdef

Name reportdef
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This is the root element of a FiForm Report definition. Attributes of this element affect the behaviour of the report and define permissions.
XML Instance Representation
<reportdef
version="schemaVersion [1] ?">
<title> ... </title> [1]
<summary> ... </summary> [0..1]
<created> ... </created> [0..1]
<copyright> ... </copyright> [0..1]
<license> ... </license> [0..1]
<security> ... </security> [0..1]
<confidentiality> ... </confidentiality> [0..1]
<connect> ... </connect> [1..*]
<action> ... </action> [0..1]
<generator> ... </generator> [0..1]
<param> ... </param> [0..*]
<stylesheet> ... </stylesheet> [0..*]
Start Choice [1..*]
<query> ... </query> [1]
<callquery> ... </callquery> [1]
<format> ... </format> [0..*]
End Choice
</reportdef>
Schema Component Representation
<xs:element name="reportdef">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" maxOccurs="1" minOccurs="1"/>
<xs:element ref="summary" maxOccurs="1" minOccurs="0"/>
<xs:element ref="created" maxOccurs="1" minOccurs="0"/>
<xs:element ref="copyright" maxOccurs="1" minOccurs="0"/>
<xs:element ref="license" maxOccurs="1" minOccurs="0"/>
<xs:element ref="security" maxOccurs="1" minOccurs="0"/>
<xs:element ref="confidentiality" maxOccurs="1" minOccurs="0"/>
<xs:element ref="connect" maxOccurs="unbounded" minOccurs="1"/>
<xs:element ref="action" maxOccurs="1" minOccurs="0"/>
<xs:element ref="generator" maxOccurs="1" minOccurs="0"/>
<xs:element ref="param" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="stylesheet" maxOccurs="unbounded" minOccurs="0"/>
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element ref="query"/>
<xs:element ref="callquery"/>
<xs:element ref="format" maxOccurs="unbounded" minOccurs="0"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="version" type="schemaVersion" use="required"/>
</xs:complexType>
</xs:element>
top

Element: stylesheet

Name stylesheet
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<stylesheet
href="xs:anyURI [1] ?"
caption="anySimpleType [0..1] ?"
default="default [0..1] ?"
type="stylesheet_types [0..1] ?"
mode="stylesheet_modes [0..1] ?"/>
Schema Component Representation
<xs:element name="stylesheet">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute name="caption" use="optional"/>
<xs:attribute name="default" type="xs:string" fixed="default" use="optional"/>
<xs:attribute name="type" type="stylesheet_types" use="optional"/>
<xs:attribute name="mode" type="stylesheet_modes" use="optional"/>
</xs:complexType>
</xs:element>
top

Simple Type: low_medium_high

Super-types: xs:string < low_medium_high (by restriction)
Sub-types: None
Name low_medium_high
Content
  • Base XSD Type: string
  • value comes from list: {'low'|'medium'|'high'}
Schema Component Representation
<xs:simpleType name="low_medium_high">
<xs:restriction base="xs:string">
<xs:enumeration value="low"/>
<xs:enumeration value="medium"/>
<xs:enumeration value="high"/>
</xs:restriction>
</xs:simpleType>
top

Element: security

Name security
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Security descriptor. Only the mentioned user or group will be allowed to view the report.
XML Instance Representation
<security
user="xs:string [0..1]"
group="xs:string [0..1]"/>
Schema Component Representation
<xs:element name="security">
<xs:complexType>
<xs:attribute name="user" type="xs:string" use="optional"/>
<xs:attribute name="group" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: confidentiality

Name confidentiality
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<confidentiality
level="low_medium_high [1]"/>
Schema Component Representation
<xs:element name="confidentiality">
<xs:complexType>
<xs:attribute name="level" type="low_medium_high" use="required"/>
</xs:complexType>
</xs:element>
top

Element: generator

Name generator
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<generator
href="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="generator">
<xs:complexType>
<xs:attribute name="href" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
top

Simple Type: none_all

Super-types: xs:string < none_all (by restriction)
Sub-types: None
Name none_all
Content
  • Base XSD Type: string
  • value comes from list: {'none'|'all'}
Schema Component Representation
<xs:simpleType name="none_all">
<xs:restriction base="xs:string">
<xs:enumeration value="none"/>
<xs:enumeration value="all"/>
</xs:restriction>
</xs:simpleType>
top

Element: title

Name title
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The title above the form.
XML Instance Representation
<title
display="none_all [0..1] ?"/>
Schema Component Representation
<xs:element name="title">
<xs:complexType mixed="true">
<xs:attribute name="display" type="none_all"/>
</xs:complexType>
</xs:element>
top

Element: summary

Name summary
Type xs:string
Nillable no
Abstract no
Documentation A description of the form, often displayed in verbose menu screens.
XML Instance Representation
<summary> xs:string </summary>
Schema Component Representation
<xs:element name="summary" type="xs:string"/>
top

Element: created

Name created
Type xs:string
Nillable no
Abstract no
Documentation Initial file creation date/time, in RFC-822 format
XML Instance Representation
<created> xs:string </created>
Schema Component Representation
<xs:element name="created" type="xs:string"/>
top

Element: copyright

Name copyright
Type xs:string
Nillable no
Abstract no
Documentation Author/Copyright owner of this file.
XML Instance Representation
Schema Component Representation
top

Element: license

Name license
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Licensing type and terms under which the file is released.
XML Instance Representation
<license
category="licensetype [1] ?"/>
Schema Component Representation
<xs:element name="license">
<xs:complexType>
<xs:attribute name="category" type="licensetype" use="required"/>
</xs:complexType>
</xs:element>
top

Simple Type: licensetype

Super-types: xs:string < licensetype (by restriction)
Sub-types: None
Name licensetype
Content
  • Base XSD Type: string
  • value comes from list: {'gpl'|'lgpl'|'mpl'|'bsd'|'other_osi'|'public_domain'|'proprietary'|'other'}
Documentation Possible Licenses
Schema Component Representation
<xs:simpleType name="licensetype">
<xs:restriction base="xs:string">
<xs:enumeration value="gpl"/>
<xs:enumeration value="lgpl"/>
<xs:enumeration value="mpl"/>
<xs:enumeration value="bsd"/>
<xs:enumeration value="other_osi"/>
<xs:enumeration value="public_domain"/>
<xs:enumeration value="proprietary"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
top

Element: code

Name code
Type xs:string
Nillable no
Abstract no
Documentation PHP code executed when the form is viewed. The code does not need to be enclosed in XML processing instructions (i.e. ?php tags)
XML Instance Representation
<code> xs:string </code>
Schema Component Representation
<xs:element name="code" type="xs:string"/>
top

Element: formSearch

Name formSearch
Type anyType
Nillable no
Abstract no
Documentation If present, enables a default search bar in the form. Future specifications will allow customization of the search bar.
XML Instance Representation
<formSearch> ... </formSearch>
Schema Component Representation
<xs:element name="formSearch"/>
top

Element: iText

Name iText
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iText (data-bound text box) FiForm object.
XML Instance Representation
<iText
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
transform="transform_type [0..1] ?"
displaymatch="xs:string [0..1] ?"
displayformat="xs:string [0..1] ?"
inputmatch="xs:string [0..1] ?"
inputformat="xs:string [0..1] ?"
size="xs:integer [0..1] ?">
Start Choice [0..1]
<loaddata> ... </loaddata> [0..1] ?
<expression> ... </expression> [0..1]
End Choice
<depends> ... </depends> [0..*]
</iText>
Schema Component Representation
<xs:element name="iText">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="1" minOccurs="0">
<xs:element ref="loaddata" maxOccurs="1" minOccurs="0"/>
<xs:element ref="expression" maxOccurs="1" minOccurs="0"/>
</xs:choice>
<xs:element ref="depends" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="inputfields"/>
<xs:attribute name="transform" type="transform_type"/>
<xs:attributeGroup ref="regexpattributes"/>
<xs:attribute name="size" type="xs:integer"/>
</xs:complexType>
</xs:element>
top

Element: iNumber

Name iNumber
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iNumber FiForm object for input of numerical data
XML Instance Representation
<iNumber
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
displaymatch="xs:string [0..1] ?"
displayformat="xs:string [0..1] ?"
inputmatch="xs:string [0..1] ?"
inputformat="xs:string [0..1] ?"
size="xs:integer [0..1] ?"
decimals="xs:integer [0..1] ?"
digits="xs:integer [0..1] ?"
prefix="xs:string [0..1] ?"
suffix="xs:string [0..1] ?"
thseperator="xs:string [0..1] ?"
decpoint="xs:string [0..1] ?">
Start Choice [0..1]
<loaddata> ... </loaddata> [0..1] ?
<expression> ... </expression> [0..1]
End Choice
<depends> ... </depends> [0..*]
</iNumber>
Schema Component Representation
<xs:element name="iNumber">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="1" minOccurs="0">
<xs:element ref="loaddata" maxOccurs="1" minOccurs="0"/>
<xs:element ref="expression" maxOccurs="1" minOccurs="0"/>
</xs:choice>
<xs:element ref="depends" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="inputfields"/>
<xs:attributeGroup ref="regexpattributes"/>
<xs:attribute name="size" type="xs:integer"/>
<xs:attribute name="decimals" type="xs:integer"/>
<xs:attribute name="digits" type="xs:integer"/>
<xs:attribute name="prefix" type="xs:string"/>
<xs:attribute name="suffix" type="xs:string"/>
<xs:attribute name="thseperator" type="xs:string"/>
<xs:attribute name="decpoint" type="xs:string"/>
</xs:complexType>
</xs:element>
top

Element: iUUID

Name iUUID
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iUUID data bound globally unique ID FiForm object.
XML Instance Representation
<iUUID
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iUUID">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iHidden

Name iHidden
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iHidden (hidden data-bound text box) FiForm object.
XML Instance Representation
<iHidden
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iHidden">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iTextArea

Name iTextArea
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iTextArea (data-bound text area) FiForm object. Equivalant to iText, but uses textarea instead of input
XML Instance Representation
<iTextArea
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
transform="transform_type [0..1] ?"
rows="xs:integer [0..1] ?"
cols="xs:integer [0..1] ?"
fullwidth="yes_no [0..1] ?"
displaymatch="xs:string [0..1] ?"
displayformat="xs:string [0..1] ?"
inputmatch="xs:string [0..1] ?"
inputformat="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iTextArea">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
<xs:attribute name="transform" type="transform_type"/>
<xs:attribute name="rows" type="xs:integer"/>
<xs:attribute name="cols" type="xs:integer"/>
<xs:attribute name="fullwidth" type="yes_no" use="optional"/>
<xs:attributeGroup ref="regexpattributes"/>
</xs:complexType>
</xs:element>
top

Element: iROText

Name iROText
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iROText (read-only database field) FiForm object.

Note that this does not actually create a form object that will be submitted, it simply prints the value of the field in text on the HTML page. This should be combined with iHidden if you want the value submitted on the form, or use iText disabled="disabled" to display the field in a disabled text box.
XML Instance Representation
<iROText
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iROText">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iHeading

Name iHeading
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iHeading FiForm object.

Create a full-width section heading in a form (3rd level HTML heading)
XML Instance Representation
<iHeading
caption="xs:string [0..1]"/>
Schema Component Representation
<xs:element name="iHeading">
<xs:complexType>
<xs:attribute name="caption" type="xs:string"/>
</xs:complexType>
</xs:element>
top

Element: iCheck

Name iCheck
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iCheck (data-bound check box) FiForm object.
XML Instance Representation
<iCheck
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iCheck">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iFile

Name iFile
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iFile FiForm object, to enable upload of pictures and files stored in a database BLOB field.
XML Instance Representation
<iFile
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
viewmode="ifileviewmodes [0..1] ?"/>
Schema Component Representation
<xs:element name="iFile">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
<xs:attribute name="viewmode" type="ifileviewmodes"/>
</xs:complexType>
</xs:element>
top

Element: iDBSelect

Name iDBSelect
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iDBSelect (data bound selection, drop-down box, or radio button group) FiForm object.

Options can be queried from the database by specifing a query in the rowQuery attribute or they can be specified here manually with option elements inside the iDBSelect element.
XML Instance Representation
<iDBSelect
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
rowQuery="anySimpleType [0..1] ?"
displayField="anySimpleType [0..1] ?"
ftable="anySimpleType [0..1] ?"
fkey="anySimpleType [0..1] ?"
fvalue="anySimpleType [0..1] ?"
linkedform="anySimpleType [0..1] ?"
extended="eattrib [0..1] ?"
style="styletype [0..1] ?">
Start Choice [0..1]
<loaddata> ... </loaddata> [0..1] ?
<expression> ... </expression> [0..1]
End Choice
<depends> ... </depends> [0..*]
<option> ... </option> [0..*]
</iDBSelect>
Schema Component Representation
<xs:element name="iDBSelect">
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="1" minOccurs="0">
<xs:element ref="loaddata" maxOccurs="1" minOccurs="0"/>
<xs:element ref="expression" maxOccurs="1" minOccurs="0"/>
</xs:choice>
<xs:element ref="depends" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="option" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="inputfields"/>
<xs:attribute name="rowQuery"/>
<xs:attribute name="displayField"/>
<xs:attribute name="ftable"/>
<xs:attribute name="fkey"/>
<xs:attribute name="fvalue"/>
<xs:attribute name="linkedform"/>
<xs:attribute name="extended" type="eattrib"/>
<xs:attribute name="style" type="styletype"/>
</xs:complexType>
</xs:element>
top

Element: loaddata

Name loaddata
Type auto_load
Nillable no
Abstract no
Documentation File name of XML query (report) definition to load row data from
XML Instance Representation
<loaddata
auto="autoorno [0..1] ?"
update="singleorall [0..1] ?"/>
Schema Component Representation
<xs:element name="loaddata" type="auto_load"/>
top

Complex Type: auto_load

Super-types: None
Sub-types: None
Name auto_load
Abstract no
XML Instance Representation
<...
auto="autoorno [0..1] ?"
update="singleorall [0..1] ?"/>
Schema Component Representation
<xs:complexType name="auto_load" mixed="true">
<xs:attribute name="auto" type="autoorno" default="auto"/>
<xs:attribute name="update" type="singleorall" default="single"/>
</xs:complexType>
top

Element: expression

Name expression
Type auto_load
Nillable no
Abstract no
Documentation Javascript expression which evaluates to calculate a single value on a form, instead of loading an external datasource.
XML Instance Representation
<expression
auto="autoorno [0..1] ?"
update="singleorall [0..1] ?"/>
Schema Component Representation
<xs:element name="expression" type="auto_load"/>
top

Element: depends

Name depends
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The field names of controls on form that trigger this control to refresh from the loaddata query.
XML Instance Representation
<depends
param="anySimpleType [0..1] ?"/>
Schema Component Representation
<xs:element name="depends">
<xs:complexType mixed="true">
<xs:attribute name="param"/>
</xs:complexType>
</xs:element>
top

Element: option

Name option
Type optionType
Nillable no
Abstract no
Documentation Option listing under iDBSelect. Although similar in syntax and function, this is not to be confused with the option element in the XHTML namespace.
XML Instance Representation
<option
value="anySimpleType [0..1] ?">
xs:string
</option>
Schema Component Representation
<xs:element name="option" type="optionType"/>
top

Complex Type: optionType

Super-types: xs:string < optionType (by extension)
Sub-types: None
Name optionType
Abstract no
Documentation Type definition for option under iDBSelect.
XML Instance Representation
<...
value="anySimpleType [0..1] ?">
xs:string
</...>
Schema Component Representation
<xs:complexType name="optionType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="value" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Element: iDateText

Name iDateText
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iDateText (data-bound date input box) FiForm object.
XML Instance Representation
<iDateText
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iDateText">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iDateTime

Name iDateTime
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iDateTime (data-bound date/time input box) FiForm object.
XML Instance Representation
<iDateTime
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="iDateTime">
<xs:complexType>
<xs:attributeGroup ref="inputfields"/>
</xs:complexType>
</xs:element>
top

Element: iLink

Name iLink
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Link to a page (iLink FiForm object)
XML Instance Representation
Schema Component Representation
top

Element: if

Name if
Type ifType
Nillable no
Abstract no
Documentation Construct for conditional definitions. Elements inside this element will be present only if the condition is true.

Note: This schema technically allows elements under "if" that belong in the "connection", "fiforms", or "wrapper" elements. Although this may be technically allowed by the schema, no element is allowed under "if" that would not be allowed if it were outside the "if" element.
XML Instance Representation
<if
param="xs:string [1] ?"
test="testvalues [0..1] ?"
value="xs:string [0..1] ?">
Start Choice [1]
Start Group: controls [1..*]
Start Choice [1]
<code> ... </code> [1]
<iText> ... </iText> [1]
<iNumber> ... </iNumber> [1]
<iROText> ... </iROText> [1]
<iHeading> ... </iHeading> [1]
<iHidden> ... </iHidden> [1]
<iTextArea> ... </iTextArea> [1]
<iDateText> ... </iDateText> [1]
<iDateTime> ... </iDateTime> [1]
<iCheck> ... </iCheck> [1]
<iDBSelect> ... </iDBSelect> [1]
<iLink> ... </iLink> [1]
<iFile> ... </iFile> [1]
<iSubform> ... </iSubform> [1]
<iCustomInput> ... </iCustomInput> [1]
<iUUID> ... </iUUID> [1]
<iContainer> ... </iContainer> [1]
<iTabGroup> ... </iTabGroup> [1]
<input> ... </input> [1]
<if> ... </if> [1]
Allow any elements from a namespace other than this schema's namespace (skip validation). [1]
End Choice
End Group: controls
Start Choice [0..*]
<connect> ... </connect> [1]
<query> ... </query> [1]
End Choice
Start Choice [0..*]
<headerTags> ... </headerTags> [1]
<pageHeader> ... </pageHeader> [1]
<bodyProperties> ... </bodyProperties> [1]
<pageFooter> ... </pageFooter> [1]
End Choice
End Choice
</if>
Schema Component Representation
<xs:element name="if" type="ifType"/>
top

Complex Type: ifType

Super-types: None
Sub-types: None
Name ifType
Abstract no
XML Instance Representation
<...
param="xs:string [1] ?"
test="testvalues [0..1] ?"
value="xs:string [0..1] ?">
Start Choice [1]
Start Group: controls [1..*]
Start Choice [1]
<code> ... </code> [1]
<iText> ... </iText> [1]
<iNumber> ... </iNumber> [1]
<iROText> ... </iROText> [1]
<iHeading> ... </iHeading> [1]
<iHidden> ... </iHidden> [1]
<iTextArea> ... </iTextArea> [1]
<iDateText> ... </iDateText> [1]
<iDateTime> ... </iDateTime> [1]
<iCheck> ... </iCheck> [1]
<iDBSelect> ... </iDBSelect> [1]
<iLink> ... </iLink> [1]
<iFile> ... </iFile> [1]
<iSubform> ... </iSubform> [1]
<iCustomInput> ... </iCustomInput> [1]
<iUUID> ... </iUUID> [1]
<iContainer> ... </iContainer> [1]
<iTabGroup> ... </iTabGroup> [1]
<input> ... </input> [1]
<if> ... </if> [1]
Allow any elements from a namespace other than this schema's namespace (skip validation). [1]
End Choice
End Group: controls
Start Choice [0..*]
<connect> ... </connect> [1]
<query> ... </query> [1]
End Choice
Start Choice [0..*]
<headerTags> ... </headerTags> [1]
<pageHeader> ... </pageHeader> [1]
<bodyProperties> ... </bodyProperties> [1]
<pageFooter> ... </pageFooter> [1]
End Choice
End Choice
</...>
Schema Component Representation
<xs:complexType name="ifType">
<xs:choice>
<xs:group ref="controls" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="connect"/>
<xs:element ref="query"/>
</xs:choice>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="headerTags"/>
<xs:element ref="pageHeader"/>
<xs:element ref="bodyProperties"/>
<xs:element ref="pageFooter"/>
</xs:choice>
</xs:sequence>
</xs:choice>
<xs:attribute name="param" type="xs:string" use="required"/>
<xs:attribute name="test" type="testvalues" default="exists" use="optional"/>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
top

Model Group: controls

Name controls
Documentation Group of controls and elements that can be found under "fiform" or "if" elements
XML Instance Representation
Start Choice [1]
<code> ... </code> [1]
<iText> ... </iText> [1]
<iNumber> ... </iNumber> [1]
<iROText> ... </iROText> [1]
<iHeading> ... </iHeading> [1]
<iHidden> ... </iHidden> [1]
<iTextArea> ... </iTextArea> [1]
<iDateText> ... </iDateText> [1]
<iDateTime> ... </iDateTime> [1]
<iCheck> ... </iCheck> [1]
<iDBSelect> ... </iDBSelect> [1]
<iLink> ... </iLink> [1]
<iFile> ... </iFile> [1]
<iSubform> ... </iSubform> [1]
<iCustomInput> ... </iCustomInput> [1]
<iUUID> ... </iUUID> [1]
<iContainer> ... </iContainer> [1]
<iTabGroup> ... </iTabGroup> [1]
<input> ... </input> [1]
<if> ... </if> [1]
Allow any elements from a namespace other than this schema's namespace (skip validation). [1]
End Choice
Schema Component Representation
<xs:group name="controls">
<xs:choice>
<xs:element ref="code"/>
<xs:element ref="iText"/>
<xs:element ref="iNumber"/>
<xs:element ref="iROText"/>
<xs:element ref="iHeading"/>
<xs:element ref="iHidden"/>
<xs:element ref="iTextArea"/>
<xs:element ref="iDateText"/>
<xs:element ref="iDateTime"/>
<xs:element ref="iCheck"/>
<xs:element ref="iDBSelect"/>
<xs:element ref="iLink"/>
<xs:element ref="iFile"/>
<xs:element ref="iSubform"/>
<xs:element ref="iCustomInput"/>
<xs:element ref="iUUID"/>
<xs:element ref="iContainer"/>
<xs:element ref="iTabGroup"/>
<xs:element ref="input"/>
<xs:element ref="if"/>
<xs:any namespace="##other" processContents="skip"/>
</xs:choice>
</xs:group>
top

Attribute Group: windowattributes

Name windowattributes
XML Instance Representation
window="anySimpleType [0..1] ?"
menubar="yes_no [0..1] ?"
toolbar="yes_no [0..1] ?"
scrollbars="yes_no [0..1] ?"
resizable="yes_no [0..1] ?"
location="yes_no [0..1] ?"
width="xs:integer [0..1] ?"
height="xs:integer [0..1] ?"
Schema Component Representation
<xs:attributeGroup name="windowattributes">
<xs:attribute name="window" use="optional"/>
<xs:attribute name="menubar" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="toolbar" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="scrollbars" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="resizable" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="location" type="yes_no" default="yes" use="optional"/>
<xs:attribute name="width" type="xs:integer" use="optional"/>
<xs:attribute name="height" type="xs:integer" use="optional"/>
</xs:attributeGroup>
top

Element: iContainer

Name iContainer
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iContainer FiForm object. This is a generic container element, which can contain any other FiForms objects.
XML Instance Representation
<iContainer
caption="anySimpleType [0..1] ?"
width="anySimpleType [0..1] ?"
height="anySimpleType [0..1] ?">
Start Group: controls [1..*]
Start Choice [1]
<code> ... </code> [1]
<iText> ... </iText> [1]
<iNumber> ... </iNumber> [1]
<iROText> ... </iROText> [1]
<iHeading> ... </iHeading> [1]
<iHidden> ... </iHidden> [1]
<iTextArea> ... </iTextArea> [1]
<iDateText> ... </iDateText> [1]
<iDateTime> ... </iDateTime> [1]
<iCheck> ... </iCheck> [1]
<iDBSelect> ... </iDBSelect> [1]
<iLink> ... </iLink> [1]
<iFile> ... </iFile> [1]
<iSubform> ... </iSubform> [1]
<iCustomInput> ... </iCustomInput> [1]
<iUUID> ... </iUUID> [1]
<iContainer> ... </iContainer> [1]
<iTabGroup> ... </iTabGroup> [1]
<input> ... </input> [1]
<if> ... </if> [1]
Allow any elements from a namespace other than this schema's namespace (skip validation). [1]
End Choice
End Group: controls
</iContainer>
Schema Component Representation
<xs:element name="iContainer">
<xs:complexType>
<xs:group ref="controls" minOccurs="1" maxOccurs="unbounded"/>
<xs:attribute name="caption"/>
<xs:attribute name="width"/>
<xs:attribute name="height"/>
</xs:complexType>
</xs:element>
top

Element: iTabGroup

Name iTabGroup
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iTabGroup FiForm object. This container element should contain several iContainer elements, to create tabbed groups of controls on a form.
XML Instance Representation
<iTabGroup
caption="anySimpleType [0..1] ?"
width="anySimpleType [0..1] ?"
height="anySimpleType [0..1] ?">
<iContainer> ... </iContainer> [1..*]
</iTabGroup>
Schema Component Representation
<xs:element name="iTabGroup">
<xs:complexType>
<xs:sequence>
<xs:element ref="iContainer" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="caption"/>
<xs:attribute name="width"/>
<xs:attribute name="height"/>
</xs:complexType>
</xs:element>
top

Element: iSubform

Name iSubform
Type Locally-defined complex type
Nillable no
Abstract no
Documentation iSubform FiForm object. This displays a separate form in an iframe to show/edit related records.
XML Instance Representation
<iSubform
caption="anySimpleType [0..1] ?"
href="xs:string [1] ?"
view="subviewtype [0..1] ?"
params="xs:string [0..1] ?"
width="anySimpleType [0..1] ?"
height="anySimpleType [0..1] ?"
fullwidth="yes_no [0..1] ?"
fkey="anySimpleType [0..1] ?"/>
Schema Component Representation
<xs:element name="iSubform">
<xs:complexType>
<xs:attribute name="caption"/>
<xs:attribute name="href" type="xs:string" use="required"/>
<xs:attribute name="view" type="subviewtype" default="normal"/>
<xs:attribute name="params" type="xs:string" use="optional"/>
<xs:attribute name="width"/>
<xs:attribute name="height"/>
<xs:attribute name="fullwidth" type="yes_no" use="optional"/>
<xs:attribute name="fkey"/>
</xs:complexType>
</xs:element>
top

Element: iCustomInput

Name iCustomInput
Type Locally-defined complex type
Nillable no
Abstract no
Documentation FiForm iCustomInput Object. A fully customizable control. The contents of this control will simply be copied into the form, with variable substitutions made in between percent (%) signs.
XML Instance Representation
<iCustomInput
caption="anySimpleType [0..1] ?"
expression="anySimpleType [0..1] ?"
collapse="anySimpleType [0..1] ?"
display="sheetform [0..1] ?">
<!-- Mixed content -->
Start Sequence [0..*]
Allow any elements from the following namespace(s): http://www.w3.org/1999/xhtml (skip validation). [1]
End Sequence
</iCustomInput>
Schema Component Representation
<xs:element name="iCustomInput">
<xs:complexType mixed="true">
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/>
</xs:sequence>
<xs:attribute name="caption"/>
<xs:attribute name="expression"/>
<xs:attribute name="collapse"/>
<xs:attribute name="display" type="sheetform" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: input

Name input
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Deprecated input element. If possible, specific elements such as iText, iTextArea, iDateText, etc. should be used as they are more expressive.
XML Instance Representation
<input
type="anySimpleType [1] ?"
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
p1="anySimpleType [0..1] ?"
p2="anySimpleType [0..1] ?"
p3="anySimpleType [0..1] ?"
p4="anySimpleType [0..1]"
p5="anySimpleType [0..1]"
p6="anySimpleType [0..1]"
p7="anySimpleType [0..1]"
p8="anySimpleType [0..1]"/>
Schema Component Representation
<xs:element name="input">
<xs:complexType>
<xs:attribute name="type" use="required"/>
<xs:attributeGroup ref="inputfields"/>
<xs:attribute name="p1"/>
<xs:attribute name="p2"/>
<xs:attribute name="p3"/>
<xs:attribute name="p4"/>
<xs:attribute name="p5"/>
<xs:attribute name="p6"/>
<xs:attribute name="p7"/>
<xs:attribute name="p8"/>
</xs:complexType>
</xs:element>
top

Attribute Group: inputfields

Name inputfields
XML Instance Representation
field="xs:token [1] ?"
caption="xs:string [0..1] ?"
default="anySimpleType [0..1] ?"
datatype="anySimpleType [0..1] ?"
maxlength="anySimpleType [0..1] ?"
required="yes_no [0..1] ?"
display="sheetform [0..1] ?"
onchange="anySimpleType [0..1] ?"
onblur="anySimpleType [0..1] ?"
onfocus="anySimpleType [0..1] ?"
onkeypress="anySimpleType [0..1] ?"
onkeydown="anySimpleType [0..1] ?"
enabled="yes_no [0..1] ?"
readonly="readonly [0..1] ?"
formatexp="xs:string [0..1] ?"
formaterror="xs:string [0..1] ?"
tooltip="xs:string [0..1] ?"
Schema Component Representation
<xs:attributeGroup name="inputfields">
<xs:attribute name="field" type="xs:token" use="required"/>
<xs:attribute name="caption" type="xs:string" use="optional"/>
<xs:attribute name="default" use="optional"/>
<xs:attribute name="datatype" use="optional"/>
<xs:attribute name="maxlength" use="optional"/>
<xs:attribute name="required" type="yes_no" use="optional"/>
<xs:attribute name="display" type="sheetform" use="optional"/>
<xs:attribute name="onchange"/>
<xs:attribute name="onblur"/>
<xs:attribute name="onfocus"/>
<xs:attribute name="onkeypress"/>
<xs:attribute name="onkeydown"/>
<xs:attribute name="enabled" type="yes_no" default="yes"/>
<xs:attribute name="readonly" type="readonly" use="optional"/>
<xs:attribute name="formatexp" type="xs:string"/>
<xs:attribute name="formaterror" type="xs:string"/>
<xs:attribute name="tooltip" type="xs:string" use="optional"/>
</xs:attributeGroup>
top

Attribute Group: regexpattributes

Name regexpattributes
XML Instance Representation
displaymatch="xs:string [0..1] ?"
displayformat="xs:string [0..1] ?"
inputmatch="xs:string [0..1] ?"
inputformat="xs:string [0..1] ?"
Schema Component Representation
<xs:attributeGroup name="regexpattributes">
<xs:attribute name="displaymatch" type="xs:string"/>
<xs:attribute name="displayformat" type="xs:string"/>
<xs:attribute name="inputmatch" type="xs:string"/>
<xs:attribute name="inputformat" type="xs:string"/>
</xs:attributeGroup>
top

Element: action

Name action
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Action performed by this report. If not present, or type set to "select", this is assumed to be read-only. if type set to "update", this is assumed to be a script that will modify the database.
XML Instance Representation
<action
type="actiontype [0..1]"/>
Schema Component Representation
<xs:element name="action">
<xs:complexType>
<xs:attribute name="type" type="actiontype"/>
</xs:complexType>
</xs:element>
top

Element: connect

Name connect
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Information needed to connect with the database.
XML Instance Representation
<connect
type="database [0..1] ?"
id="xs:integer [0..1] ?"
server="xs:string [0..1] ?"
db="xs:string [0..1] ?"
update="xs:string [0..1] ?"
user="xs:string [0..1] ?"
passwd="xs:string [0..1] ?">
<primaryKey> ... </primaryKey> [0..*] ?
<update> ... </update> [0..*] ?
</connect>
Schema Component Representation
<xs:element name="connect">
<xs:complexType>
<xs:sequence>
<xs:element ref="primaryKey" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="update" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" type="database" default="MySQL" use="optional"/>
<xs:attribute name="id" type="xs:integer" default="1" use="optional"/>
<xs:attribute name="server" type="xs:string" default="localhost" use="optional"/>
<xs:attribute name="db" type="xs:string" use="optional"/>
<xs:attribute name="update" type="xs:string" use="optional"/>
<xs:attribute name="user" type="xs:string" use="optional"/>
<xs:attribute name="passwd" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: update

Name update
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Name of primary or additional table this form updates. Although a query can be specified to retreive rows from any table, only these tables will be updated.
XML Instance Representation
<update
mode="primary_or_additional [1] ?"
id="unique_id_types [0..1] ?"/>
Schema Component Representation
<xs:element name="update">
<xs:complexType mixed="true">
<xs:attribute name="mode" type="primary_or_additional" use="required"/>
<xs:attribute name="id" type="unique_id_types" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: query

Name query
Type Locally-defined complex type
Nillable no
Abstract no
Documentation In report definitions, the query element contains the actual report definition: each dataset in the result is derived from the information in the query element. query elements may be sequenced and nested to produce complex "trees" of output.

In a form definition, the query elements an optional specification of an SQL query to retreive data for the form. Note that only the table specified in "update" will be updated. Also, column names from the query must match the names of the fields in the underlying table on all fields that are to be updated.

There may be any number of mode="pre" elements in a form definition, followed by exactly one non-mode query element, followed by any number of mode="post" elements. Nesting query elements is not implemented in form definitions. (Also note: as of this writing the mode="post" attribute is not implemented, although implementation is planned in the near future)
XML Instance Representation
<query
connectid="xs:integer [0..1] ?"
mode="prepost [0..1] ?"
output="yes_no [0..1] ?"
resultname="xs:string [0..1] ?"
layout="querylayout [0..1] ?"
rowwidth="xs:string [0..1] ?"
rowheight="xs:string [0..1] ?"
rowsperpage="xs:integer [0..1] ?">
<sql> ... </sql> [1]
Start Choice [0..*]
<field> ... </field> [1]
<label> ... </label> [1]
<div> ... </div> [1]
End Choice
Start Choice [0..*]
<query> ... </query> [1]
<callquery> ... </callquery> [1]
End Choice
</query>
Schema Component Representation
<xs:element name="query">
<xs:complexType>
<xs:sequence>
<xs:element ref="sql" maxOccurs="1" minOccurs="1"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="field"/>
<xs:element ref="label"/>
<xs:element ref="div"/>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="query"/>
<xs:element ref="callquery"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="connectid" type="xs:integer" use="optional" default="1"/>
<xs:attribute name="mode" type="prepost" use="optional"/>
<xs:attribute name="output" type="yes_no" use="optional" default="yes"/>
<xs:attribute name="resultname" type="xs:string" use="optional"/>
<xs:attribute name="layout" type="querylayout" use="optional" default="tabular"/>
<xs:attribute name="rowwidth" type="xs:string" use="optional"/>
<xs:attribute name="rowheight" type="xs:string" use="optional"/>
<xs:attribute name="rowsperpage" type="xs:integer" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: sql

Name sql
Type varMixed
Nillable no
Abstract no
Documentation SQL query with variables enclosed in % symbols, as in %variable%. Note for forms that the SQL in this element will be mangled by the framework: Specifically, the WHERE clause will be replaced, and the ORDER BY clause may be replaced if the user chooses to sort by a specific field.
XML Instance Representation
<sql>
<!-- Mixed content -->
<var> ... </var> [0..*]
</sql>
Schema Component Representation
<xs:element name="sql" type="varMixed"/>
top

Element: callquery

Name callquery
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Include a query from another report definition.
XML Instance Representation
<callquery
src="anySimpleType [0..1] ?"
query="anySimpleType [0..1] ?"/>
Schema Component Representation
<xs:element name="callquery">
<xs:complexType>
<xs:attribute name="src"/>
<xs:attribute name="query"/>
</xs:complexType>
</xs:element>
top

Simple Type: actiontype

Super-types: xs:string < actiontype (by restriction)
Sub-types: None
Name actiontype
Content
  • Base XSD Type: string
  • value comes from list: {'select'|'update'}
Schema Component Representation
<xs:simpleType name="actiontype">
<xs:restriction base="xs:string">
<xs:enumeration value="select"/>
<xs:enumeration value="update"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: querylayout

Super-types: xs:string < querylayout (by restriction)
Sub-types: None
Name querylayout
Content
  • Base XSD Type: string
  • value comes from list: {'tabular'|'positioned'|'columnar'}
Schema Component Representation
<xs:simpleType name="querylayout">
<xs:restriction base="xs:string">
<xs:enumeration value="tabular"/>
<xs:enumeration value="positioned"/>
<xs:enumeration value="columnar"/>
</xs:restriction>
</xs:simpleType>
top

Element: field

Name field
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Field Listing and Formating Information. If this element is present, only the listed fields will be present. The content of this element should match the name of the field returned by the SQL query. A column header alias (a element) should be supplied for each field, and optionally summary and formatting information.

Currently this element is only implemented in FiReports. Including it in a query in a FiForm has no effect at this time.
XML Instance Representation
<field
summary="fsummarytype [0..1] ?"
scope="fscopetype [0..1] ?"
format="fformattype [0..1] ?"
formatopts="xs:string [0..1] ?"
class="xs:string [0..1] ?"
style="xs:string [0..1] ?"
caption="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="field">
<xs:complexType mixed="true">
<xs:attribute name="summary" type="fsummarytype" use="optional"/>
<xs:attribute name="scope" type="fscopetype" use="optional"/>
<xs:attribute name="format" type="fformattype" use="optional"/>
<xs:attribute name="formatopts" type="xs:string" use="optional"/>
<xs:attributeGroup ref="reportlayoutattributes"/>
</xs:complexType>
</xs:element>
top

Element: label

Name label
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Label element on FiReport. The element is copied into the dataset element in out, and suggest printing the text to the report output.

Currently this element is only implemented in FiReports. Including it in a query in a FiForm has no effect at this time.
XML Instance Representation
<label
class="xs:string [0..1] ?"
style="xs:string [0..1] ?"
caption="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="label">
<xs:complexType mixed="true">
<xs:attributeGroup ref="reportlayoutattributes"/>
</xs:complexType>
</xs:element>
top

Element: img

Name img
Type Locally-defined complex type
Nillable no
Abstract no
Documentation
XML Instance Representation
<img
src="xs:string [0..1]"
class="xs:string [0..1] ?"
style="xs:string [0..1] ?"
caption="xs:string [0..1] ?"/>
Schema Component Representation
<xs:element name="img">
<xs:complexType>
<xs:attribute name="src" type="xs:string"/>
<xs:attributeGroup ref="reportlayoutattributes"/>
</xs:complexType>
</xs:element>
top

Element: div

Name div
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Box element on FiReport. The element is copied into the dataset element in out, and suggest a grouping of other fields/elements to the report output.

Currently this element is only implemented in FiReports. Including it in a query in a FiForm has no effect at this time.
XML Instance Representation
<div
class="xs:string [0..1] ?"
style="xs:string [0..1] ?"
caption="xs:string [0..1] ?"
layout="querylayout [0..1] ?">
Start Choice [0..*]
<field> ... </field> [1]
<label> ... </label> [1]
<div> ... </div> [1]
End Choice
</div>
Schema Component Representation
<xs:element name="div">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="field"/>
<xs:element ref="label"/>
<xs:element ref="div"/>
</xs:choice>
<xs:attributeGroup ref="reportlayoutattributes"/>
<xs:attribute name="layout" type="querylayout" use="optional" default="tabular"/>
</xs:complexType>
</xs:element>
top

Attribute Group: reportlayoutattributes

Name reportlayoutattributes
XML Instance Representation
class="xs:string [0..1] ?"
style="xs:string [0..1] ?"
caption="xs:string [0..1] ?"
Schema Component Representation
<xs:attributeGroup name="reportlayoutattributes">
<xs:attribute name="class" type="xs:string" use="optional"/>
<xs:attribute name="style" type="xs:string" use="optional"/>
<xs:attribute name="caption" type="xs:string" use="optional"/>
</xs:attributeGroup>
top

Simple Type: fformattype

Super-types: xs:string < fformattype (by restriction)
Sub-types: None
Name fformattype
Content
  • Base XSD Type: string
  • value comes from list: {'number'|'text'|'date'}
Schema Component Representation
<xs:simpleType name="fformattype">
<xs:restriction base="xs:string">
<xs:enumeration value="number"/>
<xs:enumeration value="text"/>
<xs:enumeration value="date"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: fsummarytype

Super-types: xs:string < fsummarytype (by restriction)
Sub-types: None
Name fsummarytype
Content
  • Base XSD Type: string
  • value comes from list: {'count'|'sum'|'running sum'}
Schema Component Representation
<xs:simpleType name="fsummarytype">
<xs:restriction base="xs:string">
<xs:enumeration value="count"/>
<xs:enumeration value="sum"/>
<xs:enumeration value="running sum"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: fscopetype

Super-types: xs:string < fscopetype (by restriction)
Sub-types: None
Name fscopetype
Content
  • Base XSD Type: string
  • value comes from list: {'local'|'global'}
Schema Component Representation
<xs:simpleType name="fscopetype">
<xs:restriction base="xs:string">
<xs:enumeration value="local"/>
<xs:enumeration value="global"/>
</xs:restriction>
</xs:simpleType>
top

Complex Type: varMixed

Super-types: None
Sub-types: None
Name varMixed
Abstract no
Documentation Text content with param elements mixed in.
XML Instance Representation
<...>
<!-- Mixed content -->
<var> ... </var> [0..*]
</...>
Schema Component Representation
<xs:complexType name="varMixed" mixed="true">
<xs:sequence>
<xs:element ref="var" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Element: var

Name var
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Parameter substitution element
XML Instance Representation
<var
ref="xs:token [1] ?"/>
Schema Component Representation
<xs:element name="var">
<xs:complexType>
<xs:attribute name="ref" type="xs:token" use="required"/>
</xs:complexType>
</xs:element>
top

Element: param

Name param
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Parameter retreived either from GET or from a parent query.
XML Instance Representation
<param
name="xs:token [1]"
caption="xs:string [0..1]"
value="xs:string [0..1]"
type="param_type [0..1]">
<loaddata> ... </loaddata> [0..1]
<depends> ... </depends> [0..*]
<option> ... </option> [0..*]
</param>
Schema Component Representation
<xs:element name="param">
<xs:complexType>
<xs:sequence>
<xs:element ref="loaddata" minOccurs="0" maxOccurs="1"/>
<xs:element ref="depends" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="option" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:token" use="required"/>
<xs:attribute name="caption" type="xs:string" use="optional"/>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:attribute name="type" type="param_type" use="optional"/>
</xs:complexType>
</xs:element>
top

Element: primaryKey

Name primaryKey
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<primaryKey
field="xs:token [1]"/>
Schema Component Representation
<xs:element name="primaryKey">
<xs:complexType>
<xs:attribute name="field" type="xs:token" use="required"/>
</xs:complexType>
</xs:element>
top

Element: wrapper

Name wrapper
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Pieces of HTML code substituted at various places in the resulting HTML document to create a custom page header, page footer, and/or javascript tags or links in the HTML header.
XML Instance Representation
<wrapper>
Start Choice [0..*]
<if> ... </if> [1]
<headerTags> ... </headerTags> [1]
<pageHeader> ... </pageHeader> [1]
<pageFooter> ... </pageFooter> [1]
<bodyProperties> ... </bodyProperties> [1]
End Choice
</wrapper>
Schema Component Representation
<xs:element name="wrapper">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="if"/>
<xs:element ref="headerTags"/>
<xs:element ref="pageHeader"/>
<xs:element ref="pageFooter"/>
<xs:element ref="bodyProperties"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: headerTags

Name headerTags
Type Locally-defined complex type
Nillable no
Abstract no
Documentation
XML Instance Representation
<headerTags>
Start Sequence [1..*]
Allow any elements from the following namespace(s): http://www.w3.org/1999/xhtml (skip validation). [1]
End Sequence
</headerTags>
Schema Component Representation
<xs:element name="headerTags">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: pageHeader

Name pageHeader
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<pageHeader>
Start Sequence [1..*]
Allow any elements from the following namespace(s): http://www.w3.org/1999/xhtml (skip validation). [1]
End Sequence
</pageHeader>
Schema Component Representation
<xs:element name="pageHeader">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: bodyProperties

Name bodyProperties
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<bodyProperties
onload="xs:string [0..1]"
onresize="xs:string [0..1]"
Allow any attributes from the following namespace(s): http://www.w3.org/1999/xhtml (skip validation).
/>
Schema Component Representation
<xs:element name="bodyProperties">
<xs:complexType>
<xs:attribute name="onload" type="xs:string"/>
<xs:attribute name="onresize" type="xs:string"/>
<xs:anyAttribute namespace="http://www.w3.org/1999/xhtml" processContents="skip"/>
</xs:complexType>
</xs:element>
top

Element: pageFooter

Name pageFooter
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
Schema Component Representation
top

Simple Type: param_type

Super-types: xs:string < param_type (by restriction)
Sub-types: None
Name param_type
Content
  • Base XSD Type: string
  • value comes from list: {'text'|'select'}
Schema Component Representation
<xs:simpleType name="param_type">
<xs:restriction base="xs:string">
<xs:enumeration value="text"/>
<xs:enumeration value="select"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: layouttype

Super-types: xs:string < layouttype (by restriction)
Sub-types: None
Name layouttype
Content
  • Base XSD Type: string
  • value comes from list: {'positioned'|'tabular'|'columnar'}
Schema Component Representation
<xs:simpleType name="layouttype">
<xs:restriction base="xs:string">
<xs:enumeration value="positioned"/>
<xs:enumeration value="tabular"/>
<xs:enumeration value="columnar"/>
</xs:restriction>
</xs:simpleType>
top

Element: format

Name format
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Formatting instructions for report--copied into the report result set to be interpreted by the stylesheet.
XML Instance Representation
<format
dataset="xs:string [0..1]"
layout="layouttype [0..1]"
class="xs:string [0..1]">
<style> ... </style> [0..1]
Start Group: reportformatting [1..*]
Start Choice [1]
<format> ... </format> [1]
<field> ... </field> [1]
<label> ... </label> [1]
<div> ... </div> [1]
<img> ... </img> [1]
End Choice
End Group: reportformatting
</format>
Schema Component Representation
<xs:element name="format">
<xs:complexType>
<xs:sequence>
<xs:element ref="style" minOccurs="0" maxOccurs="1"/>
<xs:group ref="reportformatting" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="dataset" type="xs:string"/>
<xs:attribute name="layout" type="layouttype"/>
<xs:attribute name="class" type="xs:string"/>
</xs:complexType>
</xs:element>
top

Element: style

Name style
Type anyType
Nillable no
Abstract no
XML Instance Representation
<style> ... </style>
Schema Component Representation
<xs:element name="style"/>
top

Model Group: reportformatting

Name reportformatting
XML Instance Representation
Start Choice [1]
<format> ... </format> [1]
<field> ... </field> [1]
<label> ... </label> [1]
<div> ... </div> [1]
<img> ... </img> [1]
End Choice
Schema Component Representation
<xs:group name="reportformatting">
<xs:choice>
<xs:element ref="format"/>
<xs:element ref="field"/>
<xs:element ref="label"/>
<xs:element ref="div"/>
<xs:element ref="img"/>
</xs:choice>
</xs:group>
top

Simple Type: autoorno

Super-types: xs:string < autoorno (by restriction)
Sub-types: None
Name autoorno
Content
  • Base XSD Type: string
  • value comes from list: {'auto'|'noauto'|'onlynew'|'always'}
Schema Component Representation
<xs:simpleType name="autoorno">
<xs:restriction base="xs:string">
<xs:enumeration value="auto"/>
<xs:enumeration value="noauto"/>
<xs:enumeration value="onlynew"/>
<xs:enumeration value="always"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: singleorall

Super-types: xs:string < singleorall (by restriction)
Sub-types: None
Name singleorall
Content
  • Base XSD Type: string
  • value comes from list: {'single'|'all'}
Schema Component Representation
<xs:simpleType name="singleorall">
<xs:restriction base="xs:string">
<xs:enumeration value="single"/>
<xs:enumeration value="all"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: transform_type

Super-types: xs:string < transform_type (by restriction)
Sub-types: None
Name transform_type
Content
  • Base XSD Type: string
  • value comes from list: {'uppercase'|'lowercase'|'none'}
Schema Component Representation
<xs:simpleType name="transform_type">
<xs:restriction base="xs:string">
<xs:enumeration value="uppercase"/>
<xs:enumeration value="lowercase"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: stylesheet_modes

Super-types: xs:string < stylesheet_modes (by restriction)
Sub-types: None
Name stylesheet_modes
Content
  • Base XSD Type: string
  • value comes from list: {'link'|'transform'|'pdf'}
Schema Component Representation
<xs:simpleType name="stylesheet_modes">
<xs:restriction base="xs:string">
<xs:enumeration value="link"/>
<xs:enumeration value="transform"/>
<xs:enumeration value="pdf"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: stylesheet_types

Super-types: xs:string < stylesheet_types (by restriction)
Sub-types: None
Name stylesheet_types
Content
  • Base XSD Type: string
  • value comes from list: {'text/css'|'text/xml'|'text/xsl'|'application/xml'|'application/xslt+xml'}
Schema Component Representation
<xs:simpleType name="stylesheet_types">
<xs:restriction base="xs:string">
<xs:enumeration value="text/css"/>
<xs:enumeration value="text/xml"/>
<xs:enumeration value="text/xsl"/>
<xs:enumeration value="application/xml"/>
<xs:enumeration value="application/xslt+xml"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: ifileviewmodes

Super-types: xs:string < ifileviewmodes (by restriction)
Sub-types: None
Name ifileviewmodes
Content
  • Base XSD Type: string
  • value comes from list: {'image'|'download'}
Documentation Possible viewmode values for ifile
Schema Component Representation
<xs:simpleType name="ifileviewmodes">
<xs:restriction base="xs:string">
<xs:enumeration value="image"/>
<xs:enumeration value="download"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: link_button

Super-types: xs:string < link_button (by restriction)
Sub-types: None
Name link_button
Content
  • Base XSD Type: string
  • value comes from list: {'link'|'button'}
Documentation Possible types for iLink
Schema Component Representation
top

Simple Type: testvalues

Super-types: xs:string < testvalues (by restriction)
Sub-types: None
Name testvalues
Content
  • Base XSD Type: string
  • value comes from list: {'exists'|'equals'|'does not exist'|'does not equal'|'is greater than'|'is less than'|'is greater than or equal to'|'is less than or equal to'}
Documentation Possible comparison operators for "if"
Schema Component Representation
<xs:simpleType name="testvalues">
<xs:restriction base="xs:string">
<xs:enumeration value="exists"/>
<xs:enumeration value="equals"/>
<xs:enumeration value="does not exist"/>
<xs:enumeration value="does not equal"/>
<xs:enumeration value="is greater than"/>
<xs:enumeration value="is less than"/>
<xs:enumeration value="is greater than or equal to"/>
<xs:enumeration value="is less than or equal to"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: subviewtype

Super-types: xs:string < subviewtype (by restriction)
Sub-types: None
Name subviewtype
Content
  • Base XSD Type: string
  • value comes from list: {'normal'|'sheet'|'new'}
Documentation Possible views for a subform.
Schema Component Representation
<xs:simpleType name="subviewtype">
<xs:restriction base="xs:string">
<xs:enumeration value="normal"/>
<xs:enumeration value="sheet"/>
<xs:enumeration value="new"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: yes_no

Super-types: xs:string < yes_no (by restriction)
Sub-types: None
Name yes_no
Content
  • Base XSD Type: string
  • value comes from list: {'yes'|'no'}
Schema Component Representation
<xs:simpleType name="yes_no">
<xs:restriction base="xs:string">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: eattrib

Super-types: xs:string < eattrib (by restriction)
Sub-types: None
Name eattrib
Content
  • Base XSD Type: string
  • value comes from list: {'attributes'}
Schema Component Representation
<xs:simpleType name="eattrib">
<xs:restriction base="xs:string">
<xs:enumeration value="attributes"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: prepost

Super-types: xs:string < prepost (by restriction)
Sub-types: None
Name prepost
Content
  • Base XSD Type: string
  • value comes from list: {'pre'|'post'}
Schema Component Representation
<xs:simpleType name="prepost">
<xs:restriction base="xs:string">
<xs:enumeration value="pre"/>
<xs:enumeration value="post"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: styletype

Super-types: xs:string < styletype (by restriction)
Sub-types: None
Name styletype
Content
  • Base XSD Type: string
  • value comes from list: {'select'|'radio'|'dynamic'}
Schema Component Representation
<xs:simpleType name="styletype">
<xs:restriction base="xs:string">
<xs:enumeration value="select"/>
<xs:enumeration value="radio"/>
<xs:enumeration value="dynamic"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: readonly

Super-types: xs:string < readonly (by restriction)
Sub-types: None
Name readonly
Content
  • Base XSD Type: string
  • value comes from list: {'readonly'}
Schema Component Representation
<xs:simpleType name="readonly">
<xs:restriction base="xs:string">
<xs:enumeration value="readonly"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: sheetform

Super-types: xs:string < sheetform (by restriction)
Sub-types: None
Name sheetform
Content
  • Base XSD Type: string
  • value comes from list: {'sheet'|'form'|'both'|'none'}
Schema Component Representation
<xs:simpleType name="sheetform">
<xs:restriction base="xs:string">
<xs:enumeration value="sheet"/>
<xs:enumeration value="form"/>
<xs:enumeration value="both"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: selected

Super-types: xs:string < selected (by restriction)
Sub-types: None
Name selected
Content
  • Base XSD Type: string
  • value comes from list: {'selected'}
Schema Component Representation
<xs:simpleType name="selected">
<xs:restriction base="xs:string">
<xs:enumeration value="selected"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: navlink_positions

Super-types: xs:string < navlink_positions (by restriction)
Sub-types: None
Name navlink_positions
Content
  • Base XSD Type: string
  • value comes from list: {'bottom'|'top'|'both'|'none'}
Schema Component Representation
top

Simple Type: svlink_positions

Super-types: xs:string < svlink_positions (by restriction)
Sub-types: None
Name svlink_positions
Content
  • Base XSD Type: string
  • value comes from list: {'right'|'left'|'both'|'none'}
Schema Component Representation
top

Simple Type: allowed_view

Super-types: xs:string < allowed_view (by restriction)
Sub-types: None
Name allowed_view
Content
  • Base XSD Type: string
  • value comes from list: {'both'|'form'|'sheet'|'none'}
Schema Component Representation
<xs:simpleType name="allowed_view">
<xs:restriction base="xs:string">
<xs:enumeration value="both"/>
<xs:enumeration value="form"/>
<xs:enumeration value="sheet"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: default_vew

Super-types: xs:string < default_vew (by restriction)
Sub-types: None
Name default_vew
Content
  • Base XSD Type: string
  • value comes from list: {'form'|'sheet'|'new'}
Schema Component Representation
<xs:simpleType name="default_vew">
<xs:restriction base="xs:string">
<xs:enumeration value="form"/>
<xs:enumeration value="sheet"/>
<xs:enumeration value="new"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: primary_or_additional

Super-types: xs:string < primary_or_additional (by restriction)
Sub-types: None
Name primary_or_additional
Content
  • Base XSD Type: string
  • value comes from list: {'primary'|'additional'}
Schema Component Representation
<xs:simpleType name="primary_or_additional">
<xs:restriction base="xs:string">
<xs:enumeration value="primary"/>
<xs:enumeration value="additional"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: unique_id_types

Super-types: xs:string < unique_id_types (by restriction)
Sub-types: None
Name unique_id_types
Content
  • Base XSD Type: string
  • value comes from list: {'auto_increment'}
Schema Component Representation
<xs:simpleType name="unique_id_types">
<xs:restriction base="xs:string">
<xs:enumeration value="auto_increment"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: database

Super-types: xs:string < database (by restriction)
Sub-types: None
Name database
Content
  • Base XSD Type: string
  • value comes from list: {'MySQL'|'Oracle'|'PostgreSQL'|'ODBC'|'XML'}
Documentation Database types for which support may be added. Currently, only MySQL is supported.
Schema Component Representation
<xs:simpleType name="database">
<xs:restriction base="xs:string">
<xs:enumeration value="MySQL"/>
<xs:enumeration value="Oracle"/>
<xs:enumeration value="PostgreSQL"/>
<xs:enumeration value="ODBC"/>
<xs:enumeration value="XML"/>
</xs:restriction>
</xs:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top