<xs:element name="field">
<xs:annotation>
<xs:appinfo>
<xs:element name="children" type="MFNode" default="X3DNode"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>Functional summary: a field statement defines an interface attribute or node. Each field statement can contain either attribute-value or node content.</xs:appinfo>
<xs:documentation source="http://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#NodeAndFieldStatementSyntax"/>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="SceneGraphStructureStatement">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="SceneGraphFragmentContentModel"/>
</xs:choice>
<xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="accessType" type="accessTypeNames" use="required"/>
<xs:attribute name="type" type="fieldTypeName" use="required"/>
<xs:attribute name="value" type="SFString"/>
<xs:attribute name="appinfo" type="SFString"/>
<xs:attribute name="documentation" type="SFString"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element> |