complexType X3DMetadataObject
diagram x3d-4.0_p327.png
type extension of X3DNode
properties
base X3DNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataString
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        
annotation
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Each node inheriting the X3DMetadataObject interface contains a single array of strictly typed values: MFBool, MFInt32, MFFloat, MFDouble, MFString, or MFNode, the latter having children that are all Metadata nodes.
source <xs:complexType name="X3DMetadataObject" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Each node inheriting the X3DMetadataObject interface contains a single array of strictly typed values: MFBool, MFInt32, MFFloat, MFDouble, MFString, or MFNode, the latter having children that are all Metadata nodes.
</xs:appinfo>
   
<!-- TODO may rename object type to X3DMetadataNode, see mantis issue 686 http://www.web3d.org/member-only/mantis/view.php?id=686 -->
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#X3DMetadataObject"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DNode">
     
<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:extension>
   
<!-- cannot add ProtoInstance without causing nondeterminism problems -->
 
</xs:complexContent>
</xs:complexType>

attribute X3DMetadataObject/@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 X3DMetadataObject/@reference
type SFString
source <xs:attribute name="reference" type="SFString"/>


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