XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://software602.cz/forms
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.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.w3.org/XML/1998/namespace

Declared Namespaces

Prefix Namespace
Default namespace http://software602.cz/forms
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://software602.cz/forms">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
...
</xsd:schema>
top

Global Declarations

Element: barcode

Name barcode
Type Locally-defined complex type
Nillable no
Abstract no
Documentation It appears at the first child element position within the fo:instream-foreign-object element. The element content is a text or number that is displayed within given form in barcode format. Element attributes bear more detailed information on symbology and other barcode parameters.
Diagram
XML Instance Representation
<barcode
symbology="xsd:NMTOKEN (value comes from list: {'code39normal'|'code39full'|'upc_a'|'ean8'|'ean8'|'ean13'|'booklan'|'interleaved2of5'|'discrete2of5'|'codabar'|'code93'|'code128'|'ean_ucc128'|'pdf417'|'postnet'}) [1]"
font-family="xsd:string [0..1]"
font-size="xsd:string [0..1]"
comment="xsd:string [0..1]"
narrow-bar-width="xsd:string [0..1]"
barcode-height="xsd:string [0..1]"
narrow-to-wide-ratio="xsd:integer (20 <= value <= 30) [0..1]"
orientation="xsd:NMTOKEN (value comes from list: {'horizontal'|'vertical90'|'upsidedown'|'vertical270'}) [0..1]"
text-color="xsd:string [0..1]"
display-text="xsd:NMTOKEN (value comes from list: {'not'|'ontop'}) [0..1]"
comment-on-bottom="xsd:boolean [0..1]"
bearer-bars="xsd:boolean [0..1]"
bar-width-reduction="xsd:string [0..1]"
quiet-zones="xsd:boolean [0..1]"
code39-full-ascii="xsd:boolean [0..1]"
code39-hibc="xsd:boolean [0..1]"
booklan="xsd:boolean [0..1]"
eanucc128="xsd:boolean [0..1]"
display-start-stop-chars="xsd:boolean [0..1]"
optional-checkdigit="xsd:boolean [0..1]"
optional-checkdigit2="xsd:boolean [0..1]"
display-check-digit="xsd:boolean [0..1]"
auto-font-scaling="xsd:boolean [0..1]"
adjust-to-printer-dpi="xsd:boolean [0..1]"
form602bindref="xsd:QName [0..1]"
pdfaspect="xsd:float [0..1]"
pdfsecuritylevel="xsd:float [0..1]"
pdfmodule-width="xsd:float [0..1]"
pdfmodule-height="xsd:float [0..1]"
pdfmax-columns="xsd:float [0..1]"
form602ct="brc [0..1]"/>
Schema Component Representation
<xsd:element name="barcode">
<xsd:complexType mixed="true">
<xsd:attribute name="symbology" use="required">
<-- Barcode symbology name. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="code39normal"/>
<xsd:enumeration value="code39full"/>
<xsd:enumeration value="upc_a"/>
<xsd:enumeration value="ean8"/>
<xsd:enumeration value="ean8"/>
<xsd:enumeration value="ean13"/>
<xsd:enumeration value="booklan"/>
<xsd:enumeration value="interleaved2of5"/>
<xsd:enumeration value="discrete2of5"/>
<xsd:enumeration value="codabar"/>
<xsd:enumeration value="code93"/>
<xsd:enumeration value="code128"/>
<xsd:enumeration value="ean_ucc128"/>
<xsd:enumeration value="pdf417"/>
<xsd:enumeration value="postnet"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="font-family" type="xsd:string"/>
<-- Font-family of a barcode text. -->
<xsd:attribute name="font-size" type="xsd:string"/>
<-- Font-size of a barcode text. -->
<xsd:attribute name="comment" type="xsd:string"/>
<-- Text comment displayed over or below the barcode. -->
<xsd:attribute name="narrow-bar-width" type="xsd:string"/>
<-- Bar width within the barcode. -->
<xsd:attribute name="barcode-height" type="xsd:string"/>
<-- Barcode height. -->
<xsd:attribute name="narrow-to-wide-ratio">
<-- Bar width ratio within the barcode. -->
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="20"/>
<xsd:maxInclusive value="30"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="orientation">
<-- Barcode orientation. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="horizontal"/>
<xsd:enumeration value="vertical90"/>
<xsd:enumeration value="upsidedown"/>
<xsd:enumeration value="vertical270"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="text-color" type="xsd:string"/>
<-- Color of displayed barcode associated text. -->
<xsd:attribute name="display-text">
<-- Show barcode associated text. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="not"/>
<xsd:enumeration value="ontop"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="comment-on-bottom" type="xsd:boolean"/>
<-- Show comment under barcode. -->
<xsd:attribute name="bearer-bars" type="xsd:boolean"/>
<-- Show frame around barcode. -->
<xsd:attribute name="bar-width-reduction" type="xsd:string"/>
<--Bar width reduction ratio within the barcode. -->
<xsd:attribute name="quiet-zones" type="xsd:boolean"/>
<-- Show empty area before and after the barcode. -->
<xsd:attribute name="code39-full-ascii" type="xsd:boolean"/>
<-- Use full-ascii version for barcode of Code 39 symbology. -->
<xsd:attribute name="code39-hibc" type="xsd:boolean"/>
<-- Use HIBC version for barcode of Code 39 symbology. -->
<xsd:attribute name="booklan" type="xsd:boolean"/>
<-- Use for barcode symbology BookLan instead of EAN 8 or EAN 13. -->
<xsd:attribute name="eanucc128" type="xsd:boolean"/>
<-- Use for barcode symbology EAN/UCC instead of Code 128.-->
<xsd:attribute name="display-start-stop-chars" type="xsd:boolean"/>
<-- Display the leading and trailing text characters as * character in symbology Code 39. -->
<xsd:attribute name="optional-checkdigit" type="xsd:boolean"/>
<-- Add one additional error control character into the barcode. -->
<xsd:attribute name="optional-checkdigit2" type="xsd:boolean"/>
<-- Add two additional error control characters into the barcode. -->
<xsd:attribute name="display-check-digit" type="xsd:boolean"/>
<-- Display error control characters in the barcode associated text. -->
<xsd:attribute name="auto-font-scaling" type="xsd:boolean"/>
<-- Adjust automatically barcode associated text size. -->
<xsd:attribute name="adjust-to-printer-dpi" type="xsd:boolean"/>
<-- Optimize barcode for pre-set printer resolution. -->
<xsd:attribute name="form602bindref" type="xsd:QName"/>
<-- Bind to another form field- output value. -->
<xsd:attribute name="pdfaspect" type="xsd:float"/>
<-- Two dimensional barcode. -->
<xsd:attribute name="pdfsecuritylevel" type="xsd:float"/>
<-- Security level of a two dimensional barcode. -->
<xsd:attribute name="pdfmodule-width" type="xsd:float"/>
<-- Width of a two dimensional barcode module. -->
<xsd:attribute name="pdfmodule-height" type="xsd:float"/>
<-- Height of a two dimensional barcode module. -->
<xsd:attribute name="pdfmax-columns" type="xsd:float"/>
<-- Max number of columns in a two dimensional barcode. -->
<xsd:attribute name="form602ct" fixed="brc">
<-- Form control type. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="brc"/>
<xsd:enumeration value="dbc"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
top

Element: bind

Name bind
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element defining data binding, which is bound to data item from the data record.
Diagram
XML Instance Representation
<bind
Id="xsd:string [1]"
nodeset="xsd:string [1]"
calculate="xsd:string [0..1]"
stoprecalc="xsd:string [0..1]"
constraint="xsd:string [0..1]"
required="xsd:string [0..1]"
relevant="xsd:string [0..1]"
readonly="xsd:string [0..1]"
constraintcomment="xsd:string [0..1]"
type="xsd:string [0..1]"
depends="xsd:string [0..1]">
Start Sequence [0..*]
<bind> ... </bind> [1]
End Sequence
</bind>
Schema Component Representation
<xsd:element name="bind">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
<xsd:element ref="bind"/>
</xsd:sequence>
<xsd:attribute name="Id" type="xsd:string" use="required"/>
<-- Unambiguous identifier. -->
<xsd:attribute name="nodeset" type="xsd:string" use="required"/>
<-- XPath of data item for which a data binding is created. -->
<xsd:attribute name="calculate" type="xsd:string"/>
<-- A formula by which the binding value is calculated. -->
<xsd:attribute name="stoprecalc" type="xsd:string"/>
<-- Some conditions that defines when a XPath expression will not be counted. -->
<xsd:attribute name="constraint" type="xsd:string"/>
<-- Expression defining whether the binding value is correct. -->
<xsd:attribute name="required" type="xsd:string"/>
<-- Expression defining whether the binding value is required. -->
<xsd:attribute name="relevant" type="xsd:string"/>
<-- Expression defining whether the binding value will be interpreted into the data record. -->
<xsd:attribute name="readonly" type="xsd:string"/>
<-- Expression defining whether the binding value is read-only. -->
<xsd:attribute name="constraintcomment" type="xsd:string"/>
<-- An error message for the case of data binding invalid value. -->
<xsd:attribute name="type" type="xsd:string"/>
<-- Data type of binding value. -->
<xsd:attribute name="depends" type="xsd:string"/>
<-- A list of bindings upon which this value is dependent functionally. -->
</xsd:complexType>
</xsd:element>
top

Element: condlist

Name condlist
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element indicating conditional list box entries.
Diagram
XML Instance Representation
<condlist>
Start Sequence [1..*]
<list> ... </list> [1..*]
End Sequence
</condlist>
Schema Component Representation
<xsd:element name="condlist">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:element ref="list" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: data-switch

Name data-switch
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This enable to swich between data.
Diagram
XML Instance Representation
<data-switch
form602bindref="xsd:QName [1]"
form602expresion="xsd:string [0..1]"
form602ct="dsw [1]"
form602state="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="data-switch">
<xsd:complexType>
<xsd:attribute name="form602bindref" type="xsd:QName" use="required"/>
<-- Bind to another form field- output value.-->
<xsd:attribute name="form602expresion" type="xsd:string"/>
<-- Data switching extension. Before showing a case it evaluates an added expression. -->
<xsd:attribute name="form602ct" fixed="dsw" use="required"/>
<-- Form control type. -->
<xsd:attribute name="form602state" type="xsd:string"/>
<-- Information about an actual state of a field.-->
</xsd:complexType>
</xsd:element>
top

Element: enum

Name enum
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element containing all list entries stored within given form.
Diagram
XML Instance Representation
<enum
name="xsd:string [1]"
updateurl="xsd:anyURI [0..1]"
updatexsl="xsd:string [0..1]"
embed="xsd:boolean [0..1]"
up-dated="xsd:date [0..1]">
Start Choice [1]
<list> ... </list> [1]
<condlist> ... </condlist> [1]
End Choice
</enum>
Schema Component Representation
<xsd:element name="enum">
<xsd:complexType>
<xsd:choice>
<xsd:element ref="list"/>
<xsd:element ref="condlist"/>
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<-- Name of a whole enum. -->
<xsd:attribute name="updateurl" type="xsd:anyURI"/>
<-- Any URI addres from which could be a list uploaded. -->
<xsd:attribute name="updatexsl" type="xsd:string"/>
<-- Xsl formatting of a list(template, formsettings) could be loaded from an URI. -->
<xsd:attribute name="embed" type="xsd:boolean"/>
<-- A list could be embed in a form or not. -->
<xsd:attribute name="up-dated" type="xsd:date"/>
<-- Date of last updating. -->
</xsd:complexType>
</xsd:element>
top

Element: font

Name font
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Non standart fonts should be enclosed into the form.
Diagram
XML Instance Representation
<font
name="xsd:string [1]"
len="xsd:decimal [1]"/>
Schema Component Representation
<xsd:element name="font">
<xsd:complexType mixed="true">
<xsd:attribute name="name" type="xsd:string" use="required"/>
<-- Name of a font enclosed to the form -->
<xsd:attribute name="len" type="xsd:decimal" use="required"/>
<-- Length of a font.-->
</xsd:complexType>
</xsd:element>
top

Element: fonts

Name fonts
Type Locally-defined complex type
Nillable no
Abstract no
Documentation A form could contain several enclosed fonts.
Diagram
XML Instance Representation
<fonts>
<font> ... </font> [1..*]
</fonts>
Schema Component Representation
<xsd:element name="fonts">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="font" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: formparams

Name formparams
Type Locally-defined complex type
Nillable no
Abstract no
Documentation A form contains always one such element at the first child element position within the fo:root element. It contains basic information on a form.
Diagram
XML Instance Representation
<formparams
producer="xsd:string [0..1]"
publisher="xsd:string [0..1]"
creationdate="xsd:date [0..1]"
expiration="xsd:date [0..1]"
xmlcore-version="xsd:string [0..1]"
form-id="xsd:integer [0..1]"
xsltdebuglogfile="xsd:string [0..1]"
requiredversion="xsd:string [0..1]"
proppapercolor="xsd:string [0..1]"
proprequiredformfieldbkcolor="xsd:string [0..1]"
proproformfieldbkcolor="xsd:string [0..1]"
proprichfieldbkcolor="xsd:string [0..1]"
propformfieldbkcolor="xsd:string [0..1]"
propsaveallinternaldata="xsd:boolean [0..1]"
proppartsigned="xsd:boolean [0..1]"
propnomergedata="xsd:boolean [0..1]"
novalidateimmediately="xsd:boolean [0..1]"
proppapercolorforreadonlymode="xsd:string [0..1]"
showhelp="xsd:boolean [0..1]"
updateurl="xsd:anyURI [0..1]">
Start Choice [1]
<model> ... </model> [1]
<enum> ... </enum> [1..*]
<formsettings> ... </formsettings> [1]
<help> ... </help> [1]
<template> ... </template> [1..*]
<fonts> ... </fonts> [1]
End Choice
</formparams>
Schema Component Representation
<xsd:element name="formparams">
<xsd:complexType>
<xsd:choice>
<xsd:element ref="model"/>
<xsd:element ref="enum" maxOccurs="unbounded"/>
<xsd:element ref="formsettings"/>
<xsd:element ref="help"/>
<xsd:element ref="template" maxOccurs="unbounded"/>
<xsd:element ref="fonts" maxOccurs="1"/>
</xsd:choice>
<xsd:attribute name="producer" type="xsd:string"/>
<-- Name of a person or company, which created the form. -->
<xsd:attribute name="publisher" type="xsd:string"/>
<-- Name of a person or company, which published the form. -->
<xsd:attribute name="creationdate" type="xsd:date"/>
<-- Date of a creation of the form. -->
<xsd:attribute name="expiration" type="xsd:date"/>
<-- Expiration date of the form. -->
<xsd:attribute name="xmlcore-version" type="xsd:string"/>
<-- Version of a XML core.-->
<xsd:attribute name="form-id" type="xsd:integer"/>
<-- Number identification of a form. -->
<xsd:attribute name="xsltdebuglogfile" type="xsd:string"/>
<-- This enable logging into a file. (Just in older forms). -->
<xsd:attribute name="requiredversion" type="xsd:string"/>
<-- The lowest needed version that you need to open and use a form. -->
<xsd:attribute name="proppapercolor" type="xsd:string"/>
<-- Backgroundcolor of a form. -->
<xsd:attribute name="proprequiredformfieldbkcolor" type="xsd:string"/>
<-- Color of required form fields. -->
<xsd:attribute name="proproformfieldbkcolor" type="xsd:string"/>
<-- Color of read-only form fields. -->
<xsd:attribute name="proprichfieldbkcolor" type="xsd:string"/>
<-- Color of rich-text form fields. -->
<xsd:attribute name="propformfieldbkcolor" type="xsd:string"/>
<-- Color of form fields. -->
<xsd:attribute name="propsaveallinternaldata" type="xsd:boolean"/>
<-- Saving relevant and irrelevant data. -->
<xsd:attribute name="proppartsigned" type="xsd:boolean"/>
<-- Document is parcially signed. -->
<xsd:attribute name="propnomergedata" type="xsd:boolean"/>
<-- Parametrization of data loading. -->
<xsd:attribute name="novalidateimmediately" type="xsd:boolean"/>
<-- Validation just of an actual form field. (Used in large forms) -->
<xsd:attribute name="proppapercolorforreadonlymode" type="xsd:string"/>
<-- Backgroundcolor of a form in a locked mode. -->
<xsd:attribute name="showhelp" type="xsd:boolean"/>
<-- After the form is open the help file will be be opened, if the showhelp is true. -->
<xsd:attribute name="updateurl" type="xsd:anyURI"/>
<-- Actualization of a form. -->
</xsd:complexType>
</xsd:element>
top

Element: formsettings

Name formsettings
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element combining form properties, which will take effect during filling-in in the 602XML Filler application (e.g. toolbar appearance, permitted actions etc.)
Diagram
XML Instance Representation
<formsettings>
<!-- Mixed content -->
Allow any elements from this schema's namespace (skip validation). [1..*]
</formsettings>
Schema Component Representation
<xsd:element name="formsettings">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:any namespace="##targetNamespace" minOccurs="1" maxOccurs="unbounded" processContents="skip"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: help

Name help
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element containing help.
Diagram
XML Instance Representation
<help
updateurl="xsd:anyURI [0..1]">
Allow any elements from any namespace (skip validation). [1..*]
</help>
Schema Component Representation
<xsd:element name="help">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##any" minOccurs="1" maxOccurs="unbounded" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="updateurl" type="xsd:anyURI"/>
<-- Any URI addres from which could be a list uploaded. -->
</xsd:complexType>
</xsd:element>
top

Element: instance

Name instance
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This element contains form data record.
Diagram
XML Instance Representation
<instance>
Allow any elements from any namespace (skip validation). [1]
</instance>
Schema Component Representation
<xsd:element name="instance">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##any" processContents="skip"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: internal-graphic

Name internal-graphic
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Appears at the first child element position within the fo:instream-foreign-object element. The element content are picture binary data that is inserted into the form; these data are coded using the base64 coding.
Diagram
XML Instance Representation
<internal-graphic
imghsh="xsd:base64Binary [0..1]"
imghshref="xsd:base64Binary [0..1]"
form602bindref="xsd:QName [0..1]"
form602ct="img [0..1]"
form602extern="xsd:string [0..1]"
display="xsd:NMTOKEN (value comes from list: {'noprint'|'hidden'|'all'}) [0..1]"
form602state="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="internal-graphic">
<xsd:complexType mixed="true">
<xsd:attribute name="imghsh" type="xsd:base64Binary"/>
<-- Binary data check sum of the displayed picture. -->
<xsd:attribute name="imghshref" type="xsd:base64Binary"/>
<-- Binary data check sum of the displayed picture. -->
<xsd:attribute name="form602bindref" type="xsd:QName"/>
<-- It defines data binding, which the form element is referencing. -->
<xsd:attribute name="form602ct" fixed="img"/>
<-- Form control type. -->
<xsd:attribute name="form602extern" type="xsd:string"/>
<-- It extends non-form object properties. -->
<xsd:attribute name="display">
<-- Image visibility -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="noprint"/>
<xsd:enumeration value="hidden"/>
<xsd:enumeration value="all"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="form602state" type="xsd:string"/>
<-- Information about an actual state of a field. -->
</xsd:complexType>
</xsd:element>
top

Element: list

Name list
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element indicating list box entries.
Diagram
XML Instance Representation
<list
case="xsd:string [0..1]">
Start Sequence [1..*]
<listitem> ... </listitem> [0..*]
End Sequence
</list>
Schema Component Representation
<xsd:element name="list">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:element ref="listitem" maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="case" type="xsd:string"/>
<-- Name of a value at wich will be available a particular list.-->
</xsd:complexType>
</xsd:element>
top

Element: listitem

Name listitem
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An item of List Box Entries.
Diagram
XML Instance Representation
<listitem
itemtext="xsd:string [1]"
value="xsd:string [0..1]"
filter="xsd:string [0..1]">
Start Sequence [1..*]
Allow any elements from this schema's namespace (skip validation). [0..*]
End Sequence
</listitem>
Schema Component Representation
<xsd:element name="listitem">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="itemtext" type="xsd:string" use="required"/>
<-- Text of an item that is visible in a list.-->
<xsd:attribute name="value" type="xsd:string"/>
<-- Value of an item. -->
<xsd:attribute name="filter" type="xsd:string"/>
<-- Type of a file that is offered when data are loading.-->
</xsd:complexType>
</xsd:element>
top

Element: model

Name model
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element containing form data model.
Diagram
XML Instance Representation
<model
Id="xsd:string [0..1]"
depends="xsd:string [0..1]">
Start Sequence [1..*]
Start Choice [1]
<instance> ... </instance> [1]
<bind> ... </bind> [1..*]
<submit> ... </submit> [1..*]
Allow any elements from the following namespace(s): http://www.w3.org/2001/XMLSchema (skip validation). [1..*]
End Choice
End Sequence
</model>
Schema Component Representation
<xsd:element name="model">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:choice>
<xsd:element ref="instance"/>
<xsd:element ref="bind" maxOccurs="unbounded"/>
<xsd:element ref="submit" maxOccurs="unbounded"/>
<xsd:any namespace="http://www.w3.org/2001/XMLSchema" maxOccurs="unbounded" processContents="skip"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="Id" type="xsd:string" use="optional"/>
<-- Unambiguous identifier.-->
<xsd:attribute name="depends" type="xsd:string"/>
<-- A list of bindings upon which this value is dependent functionally. -->
</xsd:complexType>
</xsd:element>
top

Element: submit

Name submit
Type Locally-defined complex type
Nillable no
Abstract no
Diagram
XML Instance Representation
<submit
Id="xsd:string [1]"
id="xsd:string [0..1]"
method="xsd:string [0..1]"
validate="xsd:string [0..1]"
sender="xsd:string [0..1]"
MailDataAddrC="xsd:string [0..1]"
MailDataAddrBC="xsd:string [0..1]"
MailDataSubj="xsd:string [0..1]"
MailDataFile="xsd:string [0..1]"
body="xsd:string [0..1]"
sendheader="xsd:string [0..1]"
version="xsd:string [0..1]"
datacryptid="xsd:string [0..1]"
soapaction="xsd:string [0..1]"
checkrepeatsend="xsd:boolean [0..1]"
plugin="xsd:string [0..1]"
xls="xsd:string [0..1]"
usesmtp="xsd:boolean [0..1]"
relevant="xsd:string [0..1]"
cutnamespaces="xsd:string [0..1]"
action="xsd:string [0..1]"
sign="xsd:string [0..1]"
signalgorithm="xsd:string [0..1]"
govtalk="xsd:string [0..1]"
fixaction="xsd:string [0..1]"
bindelement="xsd:QName [0..1]"
sendform="xsd:string [0..1]"
mailformformat="xsd:string [0..1]"
mailzfopassword="xsd:string [0..1]"
infoincomplete="xsd:string [0..1]"
filter="xsd:string [0..1]"
datacertpath="xsd:string [0..1]"
nodialog="xsd:boolean [0..1]"
addcoding="xsd:boolean [0..1]"
certiffilter="xsd:string [0..1]"
datacertiffilter="xsd:string [0..1]"
replacebind="xsd:QName [0..1]"
commandparam="xsd:anyURI [0..1]"
resbind1="xsd:QName [0..1]"
resbind2="xsd:QName [0..1]"
soapresponsexls="xsd:QName [0..1]"
noreplaceq="union of: [ xsd:boolean, [ xsd:string (value comes from list: {''}) ] ] [0..1]"
command="xsd:NMTOKEN (value comes from list: {'readinikey'|'getrefnum'|'sendzfo'|'logout'|'setpassword'|'sendxmldata'}) [0..1]"
zfopassword="xsd:string (value comes from list: {'mandatory'|'forbidden'|''}) [0..1]"
sendformat="xsd:NMTOKEN (value comes from list: {'fo'|'zfo'|'pdf'|'pdf_a7'|'pdf_a8'}) [0..1]"
authentication="xsd:NMTOKEN (value comes from list: {'never'|'checked'|'always'}) [0..1]"
replace="xsd:NMTOKEN (value comes from list: {'all'|'none'|'instance'|'hidden'}) [0..1]"
senddlg="xsd:NMTOKEN (value comes from list: {'none'|'simple'|'wizard'}) [0..1]"/>
Schema Component Representation
<xsd:element name="submit">
<xsd:complexType>
<xsd:attribute name="Id" type="xsd:string" use="required"/>
<-- Unambiguous identifier. -->
<xsd:attribute name="id" type="xsd:string"/>
<-- Unambiguous identifier (in older forms). -->
<xsd:attribute name="method" type="xsd:string"/>
<-- Method that will be used for data submit.-->
<xsd:attribute name="validate" type="xsd:string"/>
<-- Perform validation on submit. -->
<xsd:attribute name="sender" type="xsd:string"/>
<-- Name of a sender while using e-mail send method. -->
<xsd:attribute name="MailDataAddrC" type="xsd:string"/>
<-- E-mail address for sending copy. -->
<xsd:attribute name="MailDataAddrBC" type="xsd:string"/>
<-- E-mail address for sending blind copy. -->
<xsd:attribute name="MailDataSubj" type="xsd:string"/>
<-- E-mail subject. -->
<xsd:attribute name="MailDataFile" type="xsd:string"/>
<-- Name of an enclosure. -->
<xsd:attribute name="body" type="xsd:string"/>
<-- Main text of a message. -->
<xsd:attribute name="sendheader" type="xsd:string"/>
<-- User adjustable http header. -->
<xsd:attribute name="version" type="xsd:string"/>
<-- Version of a soap header. -->
<xsd:attribute name="datacryptid" type="xsd:string"/>
<-- Identification of a submit needed for crypting. -->
<xsd:attribute name="soapaction" type="xsd:string"/>
<-- Name of a action that is void. -->
<xsd:attribute name="checkrepeatsend" type="xsd:boolean"/>
<-- If this is true, you vill be noticed if you try to send the same data two times. -->
<xsd:attribute name="plugin" type="xsd:string"/>
<--Name of a plugin. -->
<xsd:attribute name="xls" type="xsd:string"/>
<-- Transformation of data before sending. -->
<xsd:attribute name="usesmtp" type="xsd:boolean"/>
<-- Usesmtp is true when we set up SMTP as a sending technology in a Mail profile. -->
<xsd:attribute name="relevant" type="xsd:string"/>
<-- Send only relevant data. -->
<xsd:attribute name="cutnamespaces" type="xsd:string"/>
<-- Remove namespaces on data submit.-->
<xsd:attribute name="action" type="xsd:string"/>
<-- Name of an action that is void. -->
<xsd:attribute name="sign" type="xsd:string"/>
<-- Attached electronic signature required. -->
<xsd:attribute name="signalgorithm" type="xsd:string"/>
<-- Electronic signature format. -->
<xsd:attribute name="govtalk" type="xsd:string"/>
<-- Module implementing electronic submit. -->
<xsd:attribute name="fixaction" type="xsd:string"/>
<-- User can change a name of an URI address. -->
<xsd:attribute name="bindelement" type="xsd:QName"/>
<-- Used while calling submit data. -->
<xsd:attribute name="sendform" type="xsd:string"/>
<-- Sending an e-mail with the whole form. -->
<xsd:attribute name="mailformformat" type="xsd:string"/>
<-- Format of a form that is sent via e-mail. -->
<xsd:attribute name="mailzfopassword" type="xsd:string"/>
<-- Password that is needed for opening a zfo file (in mail profile). -->
<xsd:attribute name="infoincomplete" type="xsd:string"/>
<-- A user will be warned that data that he or she wants to send are not complete. -->
<xsd:attribute name="filter" type="xsd:string"/>
<-- Type of a file for loading data.-->
<xsd:attribute name="datacertpath" type="xsd:string"/>
<-- Data that should be signed. -->
<xsd:attribute name="nodialog" type="xsd:boolean"/>
<-- When true, disable showing of an application dialog of an e-mail client. -->
<xsd:attribute name="addcoding" type="xsd:boolean"/>
<-- This adds information about coding. -->
<xsd:attribute name="certiffilter" type="xsd:string"/>
<-- Expression for filtering submits.-->
<xsd:attribute name="datacertiffilter" type="xsd:string"/>
<-- Expression for filtering submits in a part of data that should be signed.-->
<xsd:attribute name="replacebind" type="xsd:QName"/>
<-- Element (subelement) in a form where should be response placed. -->
<xsd:attribute name="commandparam" type="xsd:anyURI"/>
<-- Parametr of a command in a 602XML web service profile. -->
<xsd:attribute name="resbind1" type="xsd:QName"/>
<-- Bond to a field where should be a response inserted. -->
<xsd:attribute name="resbind2" type="xsd:QName"/>
<-- Bond to a field where should be a response inserted. -->
<xsd:attribute name="soapresponsexls" type="xsd:QName"/>
<-- This defines transformation that is used for outcome in a SOAP profile. -->
<xsd:attribute name="noreplaceq">
<-- When noreplaceq is true, none acknowledgment dialog will be shown while sending.-->
<xsd:simpleType>
<xsd:union memberTypes="xsd:boolean">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value=""/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="command">
<-- Command in a web 602XML service profile. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="readinikey"/>
<xsd:enumeration value="getrefnum"/>
<xsd:enumeration value="sendzfo"/>
<xsd:enumeration value="logout"/>
<xsd:enumeration value="setpassword"/>
<xsd:enumeration value="sendxmldata"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="zfopassword">
<-- Password that is needed for opening a zfo file. -->
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="mandatory"/>
<xsd:enumeration value="forbidden"/>
<xsd:enumeration value=""/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="sendformat">
<-- Which format should be sent.-->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="fo"/>
<xsd:enumeration value="zfo"/>
<xsd:enumeration value="pdf"/>
<xsd:enumeration value="pdf_a7"/>
<xsd:enumeration value="pdf_a8"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="authentication">
<-- This defines whether a name and password should bw required while before sending. -->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="never"/>
<xsd:enumeration value="checked"/>
<xsd:enumeration value="always"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="replace">
<-- This defines an action that should be done with response.-->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="all"/>
<xsd:enumeration value="none"/>
<xsd:enumeration value="instance"/>
<xsd:enumeration value="hidden"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="senddlg">
<-- Type of a dialog that is shown while sending.-->
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="none"/>
<xsd:enumeration value="simple"/>
<xsd:enumeration value="wizard"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
top

Element: template

Name template
Type Locally-defined complex type
Nillable no
Abstract no
Documentation An element containing transformations.
Diagram
XML Instance Representation
<template
name="xsd:anyURI [1]"
updateurl="xsd:anyURI [0..1]"
up-dated="xsd:date [0..1]">
Allow any elements from any namespace (skip validation). [1]
</template>
Schema Component Representation
<xsd:element name="template">
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##any" processContents="skip"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:anyURI" use="required"/>
<-- Name of a enclosed xslt transformation. -->
<xsd:attribute name="updateurl" type="xsd:anyURI"/>
<-- Any URI addres from which could be a list uploaded. -->
<xsd:attribute name="up-dated" type="xsd:date"/>
<-- Date of last updating. -->
</xsd:complexType>
</xsd:element>
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
<complexType name="AusAddress">
<complexContent>
<extension base="Address">
<sequence>
<element name="state" type="AusStates"/>
<element name="postcode">
<simpleType>
<restriction base="string">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="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