element MetadataSet
diagram x3d-3.1_diagrams/x3d-3.1_p94.png
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString ProtoInstance
used by
element XvlShell
group ChildContentModelCore
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
name  SFString        
appinfo
name attribute is required, unless this is a USE node
reference  SFString        
containerField  containerFieldChoicesMetadata    metadata    
annotation
appinfo

The metadata provided by this node is contained in the metadata nodes of the value field.
<xs:element name="value" type="MFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
<xs:element name="metadata" type="SFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DNode"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DMetadataObject"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="MetadataSet">
 
<xs:annotation>
   
<xs:appinfo>
The metadata provided by this node is contained in the metadata nodes of the value field.
<xs:element name="value" type="MFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
     
<xs:element name="metadata" type="SFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DNode"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DMetadataObject"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#MetadataSet"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element ref="IS" minOccurs="0"/>
     
<xs:choice minOccurs="0" maxOccurs="unbounded">
       
<xs:group ref="ChildContentModelCore" minOccurs="0" maxOccurs="unbounded"/>
       
<xs:element ref="ProtoInstance" minOccurs="0" maxOccurs="unbounded"/>
     
</xs:choice>
   
</xs:sequence>
   
<xs:attributeGroup ref="DEF_USE"/>
   
<xs:attributeGroup ref="globalAttributes"/>
   
<xs:attribute name="name" type="SFString">
     
<xs:annotation>
       
<xs:appinfo>name attribute is required, unless this is a USE node </xs:appinfo>
       
<!-- Design note: cannot REQUIRE @name field or else USE nodes fail to validate -->
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="reference" type="SFString"/>
   
<xs:attribute name="containerField" type="containerFieldChoicesMetadata" default="metadata"/>
   
<!-- TODO: both X3DMetadataObject and MetadataSet need to allow optional child Metadata nodes, so child model content has to be combined to avoid collisions. -->
   
<!-- TODO:  see X3DMetadataObject definition for potential change to X3DMetadataNode. -->
 
</xs:complexType>
</xs:element>

attribute MetadataSet/@name
type SFString
annotation
appinfo
name attribute is required, unless this is a USE node
source <xs:attribute name="name" type="SFString">
 
<xs:annotation>
   
<xs:appinfo>name attribute is required, unless this is a USE node </xs:appinfo>
   
<!-- Design note: cannot REQUIRE @name field or else USE nodes fail to validate -->
 
</xs:annotation>
</xs:attribute>

attribute MetadataSet/@reference
type SFString
source <xs:attribute name="reference" type="SFString"/>

attribute MetadataSet/@containerField
type containerFieldChoicesMetadata
properties
default metadata
facets
Kind Value Annotation
enumeration metadata
appinfo
this node provides metadata information regarding its parent node.
enumeration value
appinfo
parent node is MetadataSet, this node is providing information as part of a MetadataSet collection.
source <xs:attribute name="containerField" type="containerFieldChoicesMetadata" default="metadata"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy