Extensible 3D (X3D) encodings
Part 1: Extensible Markup Language (XML) encoding
7 Encoding of statements
(NOTE this is an autogenerated page, produced using X3D XML Schema version 4.0)
This clause provides a detailed specification of the XML encoding for each structure statement defined in ISO/IEC 19775-1 X3D Architecture. The topics in this clause are listed in Table 7.1.
Table 7.1 — Topics in this clause
This XML encoding is autogenerated using the XML Schema for the Extensible 3D (X3D) Graphics Specification tagset defined in Annex B Version 4. Schema.
The well-formed syntax of an XML file is governed by the Extensible Markup Language (XML).
X3D nodes and statements are represented by XML elements. Content models indicate the node and statement elements that can be contained by a given statement element. The validity of these parent-child element relationships can be checked using the X3D DTD and X3D XML Schema.
Simple-type X3D fields (meaning other than SFNode and MFNode) are represented by XML attributes. Field values can be validated with progressive degrees of precision and strictness using X3D DTD, X3D XML Schema, X3D Schematron, and X3D Regular Expressions (regexes).
Content models indicate the nodes or statements that can be contained by the given statement.
Notational conventions for this section are as follows.
NOTE 1 Type designations shown for each statement in this section are solely informational, and are not part of the valid XML encoding for an X3D scene.
Default attribute values and empty attributes are optional.
NOTE 2 Precise ordering is necessary for <IS><connect/></IS>
connections, which are only allowed inside a ProtoDeclare body, and placed are defined prior to any contained nodes.
Note Additional information about X3D XML scene structure, allowed field values, data type restrictions, authoring hints, warnings, and errors can be found in X3D Tooltips X3DTOOLTIPS and X3D Unified Object Model X3DUOM. Validation assets are maintained in human-readable and machine-readable forms, in version control, and with corresponding documentation at X3DVALIDATION.
Notational conventions for this section are as follows.
NOTE 1 Type designations shown for each statement in this section are solely informational, and are not part of the valid XML encoding for an X3D scene.
Statement, attributes, default values | Type |
---|---|
<component | |
id=""
level="" name="" style="" class="" /> |
NMTOKEN SFInt32 NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<connect | |
id=""
nodeField="" protoField="" style="" class="" /> |
NMTOKEN NMTOKEN NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<EXPORT | |
AS=""
id="" localDEF="" style="" class="" /> |
NMTOKEN NMTOKEN IDREF SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<ExternProtoDeclare | |
appinfo=""
<field />
documentation="" id="" name="" style="" url=' ' class="" > </ExternProtoDeclare> |
SFString SFString NMTOKEN NMTOKEN SFString MFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<field | |
accessType=""
<!-- SceneGraphFragmentContentModel -->
appinfo="" documentation="" id="" name="" style="" type="" value="" class="" > </field> |
NMTOKEN SFString SFString NMTOKEN NMTOKEN SFString SFString SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<fieldValue | |
id=""
<!-- SceneGraphFragmentContentModel -->
name="" style="" value="" class="" > </fieldValue> |
NMTOKEN NMTOKEN SFString SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<head | |
id=""
<component />
style="" class="" > <unit /> <meta /> </head> |
NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<IMPORT | |
AS=""
id="" importedDEF="" inlineDEF="" style="" class="" /> |
ID NMTOKEN NMTOKEN IDREF SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<IS | |
id=""
<connect />
style="" class="" > </IS> |
NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<meta | |
content=""
dir="" http-equiv="" id="" lang="" name="" scheme="" style="" class="" /> |
SFString NMTOKEN SFString NMTOKEN SFString SFString SFString SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<ProtoBody | |
id=""
<LayerSet />
style="" class="" > <!-- SceneGraphFragmentWithPrototypeDeclarationsContentModel --> </ProtoBody> |
NMTOKEN SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<ProtoDeclare | |
appinfo=""
<ProtoInterface />
documentation="" id="" name="" style="" class="" > <ProtoBody /> </ProtoDeclare> |
SFString SFString NMTOKEN NMTOKEN SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<ProtoInterface | |
id=""
<field />
style="" class="" > </ProtoInterface> |
NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<ROUTE | |
fromField=""
fromNode="" id="" style="" toField="" toNode="" class="" /> |
NMTOKEN IDREF NMTOKEN SFString NMTOKEN IDREF NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<Scene | |
id=""
<LayerSet />
style="" class="" > <!-- ChildContentModelCore --> <!-- GroupingNodeChildContentModel --> </Scene> |
NMTOKEN SFString NMTOKENS |
Statement, attributes, default values | Type |
---|---|
<unit | |
category=""
conversionFactor="" id="" name="" style="" class="" /> |
NMTOKEN SFDouble NMTOKEN NMTOKEN SFString NMTOKENS |
Statement, attributes, default values, content model | Type |
---|---|
<X3D | |
id=""
<head />
profile="" style="" version="" class="" > <Scene /> <ds:Signature /> </X3D> |
NMTOKEN NMTOKEN SFString NMTOKEN NMTOKENS |