element Script
diagram x3d-4.0_diagrams/x3d-4.0_p213.png
type extension of X3DScriptNode
properties
content complex
mixed true
children field IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
groups ChildContentModelImmersive LoadSensorChildContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

                    DEF defines a unique ID name for each node, referenceable 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 Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
description  SFString        
load  SFBool    true    
autoRefresh  derived by: SFTime    0    
autoRefreshTimeLimit  derived by: SFTime    3600    
url  MFString        
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Networking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
directOutput  SFBool    false    
mustEvaluate  SFBool    false    
containerField  containerFieldChoicesX3DUrlObject    children    
annotation
appinfo
<xs:element name="field" type="MFNode" default="field"/>
<xs:attribute name="sourceCode" type="xs:string" fixed="inputOutputField">
<xs:annotation>
<xs:appinfo>Embedded scripting source code can be contained within the parent node as a plain-text CDATA block, without requiring escaping of special characters.</xs:appinfo>
</xs:annotation>
</xs:attribute>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Scripting"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="Script">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="field" type="MFNode" default="field"/>
     
<xs:attribute name="sourceCode" type="xs:string" fixed="inputOutputField">
       
<xs:annotation>
         
<xs:appinfo>Embedded scripting source code can be contained within the parent node as a plain-text CDATA block, without requiring escaping of special characters.</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Scripting"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/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="containerFieldChoicesX3DUrlObject" 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 containerFieldChoicesX3DUrlObject
properties
default children
facets
Kind Value Annotation
enumeration children
appinfo
parent node has abstract type X3DGroupingNode
enumeration children
appinfo
parent node is LoadSensor (formerly watchList in X3D3)
source <xs:attribute name="containerField" type="containerFieldChoicesX3DUrlObject" default="children"/>


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