ExternProtoDeclare

Element Information

Model

Children: field

Attributes

QName Type Fixed Default Use Inheritable Annotation
appinfo SFString optional
documentation SFString optional
name xs:NMTOKEN required
url MFString required

Used By

Source

<xs:element name="ExternProtoDeclare">
  <xs:annotation>
    <xs:appinfo>
      <xs:element name="field" type="MFNode" default="field"/>
      <xs:attribute name="additionalInterface" type="xs:string" default="X3DChildNode"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Core"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>ExternProtoDeclare refers to a ProtoDeclare node declaration provided in another file. ExternProtoDeclare interfaces are defined by field statements (and without IS/connect statements).</xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/concepts.html#Externalprototypesemantics"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="SceneGraphStructureStatement">
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="field"/>
        </xs:sequence>
        <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
        <xs:attribute name="url" type="MFString" use="required"/>
        <xs:attribute name="appinfo" type="SFString"/>
        <xs:attribute name="documentation" type="SFString"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample