element Script
diagram x3d-4.0_p194.png
type extension of X3DScriptNode
properties
content complex
mixed true
children field IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
group ChildContentModelImmersive
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.
url  MFString        
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
directOutput  SFBool    false    
mustEvaluate  SFBool    false    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Scripting"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="Script">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Scripting"/>
     
<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/scripting.html#Script"/>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:complexContent>
     
<xs:extension base="X3DScriptNode">
       
<xs:attribute name="directOutput" type="SFBool" default="false"/>
       
<xs:attribute name="mustEvaluate" type="SFBool" default="false"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute Script/@directOutput
type SFBool
properties
default false
source <xs:attribute name="directOutput" type="SFBool" default="false"/>

attribute Script/@mustEvaluate
type SFBool
properties
default false
source <xs:attribute name="mustEvaluate" type="SFBool" default="false"/>

attribute Script/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


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