<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body vlink="#551A8B" text="#000000" link="#0B6CDA" bgcolor="#ffffff"
    alink="#EE0000">
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 84);">From x3d.py:<br>
        </span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 84);"></span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 84);">class </span><span
          style="font-weight: bold; background-color: rgb(255, 255,
          84);">head</span><span style="background-color: rgb(255, 255,
          255);">(_X3DStatement):                                      </span><br>
           <span style="background-color: rgb(255, 255, 255);">"""</span><span
          style="background-color: rgb(255, 255, 255);">             </span><br>
        <span style="background-color: rgb(255, 255, 255);">
             Functional summary: each X3D scene includes a head
          statement that can contain component, unit and meta
          statements.</span><span style="background-color: rgb(255, 255,
          255);">
        </span><br>
        <span style="background-color: rgb(255, 255, 255);">    """</span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 255);">[snip]</span><span
          style="background-color: rgb(255, 255, 255);">
                                                                    </span><br>
           <span style="background-color: rgb(255, 255, 255);">def</span><span
          style="background-color: rgb(255, 255, 255);"> </span><span
          style="font-weight: bold; background-color: rgb(255, 255,
          255);">FIELD_DECLARATIONS</span><span style="background-color:
          rgb(255, 255, 255);">(self):
                                                                                                  </span><br>
               <span style="background-color: rgb(255, 255, 255);">'''
          Field declarations for this node: name, defaultValue, type,
          accessType, inheritedFrom '''</span><span
          style="background-color: rgb(255, 255, 255);">
        </span><br>
               <span style="background-color: rgb(255, 255, 255);">return</span><span
          style="background-color: rgb(255, 255, 255);"> [(</span><span
          style="background-color: rgb(255, 255, 255);">'children'</span><span
          style="background-color: rgb(255, 255, 255);">, </span><span
          style="font-weight: bold; background-color: rgb(255, 255,
          255);">None</span><span style="background-color: rgb(255, 255,
          255);">, FieldType.MFNode, AccessType.inputOutput, </span><span
          style="background-color: rgb(255, 255, 255);">'head'</span><span
          style="background-color: rgb(255, 255, 255);">)]</span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 255);">=======================================================================================================</span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 255);">What I don't
          understand is, why is inheritedFrom "'head'" in the above
          code?</span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 255);">Also, why do
          these below fields from X3DUOM not appear in
          FIELD_DECLARATIONS?</span></span></p>
    <p><span style="font-family:monospace"><span
          style="background-color: rgb(255, 255, 255);"><span
            style="font-family:monospace"><span
              style="color:#000000;background-color:#ffffff;"> </span><span
              style="background-color: rgb(255, 255, 255);">           </span><span
              style="font-weight: bold; background-color: rgb(255, 255,
              255);"><field </span><span style="background-color:
              rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"class"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                                                                </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"SFString"</span><span
              style="background-color: rgb(255, 255, 255);">      </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">         </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">inheritedFrom</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"X3DStatement"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                 </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">baseType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"xs:NMTOKENS"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                                        </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"The class
              attribute on each X3D node and statement is a
              space-separated list of classes, reserved for use by
              Cascading St</span><br>
            yle Sheets (CSS) and XML stylesheets."<span
              style="font-weight: bold; background-color: rgb(255, 255,
              255);">/></span><span style="background-color: rgb(255,
              255, 255);">
                                                                                                        </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><field </span><span
              style="background-color: rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"component"</span><span
              style="background-color: rgb(255, 255, 255);">
                              </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"MFNode"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                             </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                        </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">acceptableNodeTypes</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"component"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"Add
              component statements to indicate necessary scene
              functionality above the given profile for this X3D model."</span><span
              style="font-weight: bold; background-color: rgb(255, 255,
              255);">/></span><span style="background-color: rgb(255,
              255, 255);">
            </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><field </span><span
              style="background-color: rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"id"</span><span
              style="background-color: rgb(255, 255, 255);">
                                      </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"SFString"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                                                     </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">   </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">inheritedFrom</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"X3DStatement"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">baseType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"xs:NMTOKEN"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                                </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"The id
              attribute on each X3D node and statement is considered a
              unique identifier when used as part of an encompassing HT</span><br>
            ML/DOM context."<span style="font-weight: bold;
              background-color: rgb(255, 255, 255);">/></span><span
              style="background-color: rgb(255, 255, 255);">
                                                                           </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><field </span><span
              style="background-color: rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"meta"</span><span
              style="background-color: rgb(255, 255, 255);">
                                                          </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"MFNode"</span><span
              style="background-color: rgb(255, 255, 255);">
                                            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">
                                      </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">acceptableNodeTypes</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"meta"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"Add meta
              statements to provide metadata information about this X3D
              model."</span><span style="font-weight: bold;
              background-color: rgb(255, 255, 255);">/></span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><field </span><span
              style="background-color: rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"style"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"SFString"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">inheritedFrom</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"X3DStatement"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"The style
              attribute on each X3D node and statement provides an
              inline block of CSS source for element styling, reserved f</span><br>
            or use by Cascading Style Sheets (CSS) and XML stylesheets."<span
              style="font-weight: bold; background-color: rgb(255, 255,
              255);">/></span><span style="background-color: rgb(255,
              255, 255);">
            </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><field </span><span
              style="background-color: rgb(255, 255, 255);">name</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"unit"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">type</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"MFNode"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">accessType</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"inputOutput"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">acceptableNodeTypes</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"unit"</span><span
              style="background-color: rgb(255, 255, 255);">
            </span><br>
            <span style="font-weight: bold; background-color: rgb(255,
              255, 255);">                   </span><span
              style="background-color: rgb(255, 255, 255);">description</span><span
              style="background-color: rgb(255, 255, 255);">=</span><span
              style="background-color: rgb(255, 255, 255);">"Add unit
              statements to define data-conversion factors for typed
              values defined within a scene."</span><span
              style="font-weight: bold; background-color: rgb(255, 255,
              255);">/></span><span style="background-color: rgb(255,
              255, 255);">
            </span><br>
                       <span style="font-weight: bold; background-color:
              rgb(255, 255, 255);"><ContentModel></span><br>
            <span style="background-color: rgb(255, 255, 255);">
            </span><br>
            <br>
          </span></span></span></p>
  </body>
</html>