<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saxon="http://icl.com/saxon"
      xmlns="http://www.w3.org/TR/xhtml1/strict">
   <head>
      <title>MetadataExamples.x3d (X3dToXhtml listing)</title>
      <!-- I18N -->
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/>
      <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
      <style type="text/css">
span.element {color: navy}
span.attribute {color: green}
span.value {color: teal}
span.plain {color: black}
span.gray  {color: gray}
span.idName {color: maroon}
a.idName {color: maroon}
div.center {text-align: center}
div.indent {margin-left: 25px}

span.prototype {color: purple}
a.prototype {color: purple}
a.prototype:visited {color: black}
span.route {color: red}
b.warning {color: #CC5500}
b.error {color: #CC0000}

                </style>
      <style type="text/css">
table.curvedEdges { border:10px solid RoyalBlue;-webkit-border-radius:13px;-moz-border-radius:13px;-ms-border-radius:13px;-o-border-radius:13px;border-radius:13px; }
table.curvedEdges td, table.curvedEdges th { border-bottom:1px dotted black;padding:5px; }
</style>
      <meta name="generator" content="XSLT processor SAXON 9.1.0.2 from Saxonica"/>
      <meta name="generator" content="http://www.web3d.org/x3d/stylesheets/X3dToXhtml.xslt"/>
      <meta name="generator"
            content="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToXhtml.xslt"/>
      <link rel="shortcut icon"
            href="http://www.web3d.org/x3d/content/icons/X3DtextIcon16.png"
            title="X3D"/>
   </head>
   <body>
      <code title="XML declaration"><?xml version="1.0" encoding="UTF-8"?></code>
      <br/>
      <code title="Document Type Declaration (DTD) for X3D validation"><!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "<a href="http://www.web3d.org/specifications/x3d-3.3.dtd">http://www.web3d.org/specifications/x3d-3.3.dtd</a>"></code>
      <div>
<span title="X3D is the top-most XML element for an Extensible 3D (X3D) Graphics file"><<span class="element">X3D</span> <span title="X3D Immersive Profile supports most nodes, similar to VRML97"><span class="attribute">profile</span>='<span class="value">Immersive</span>'</span> <span class="attribute">version</span>='<span class="value">3.3</span>' <span title="XML namespace for X3D Graphics schema validation"><span title="XML namespace for XML Schema validation">
            <span class="attribute">xmlns:xsd</span>='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'
</span>
         <span title="XML namespace for X3D Graphics schema validation">
            <span class="attribute">xsd:noNamespaceSchemaLocation</span>
         </span>='
<a href="http://www.web3d.org/specifications/x3d-3.3.xsd">http://www.web3d.org/specifications/x3d-3.3.xsd</a>
'</span>>
</span><div class="indent">
<span title="head can contain component, unit, and author-defined metadata (meta) tags"><<span class="element">head</span>>
</span><div class="indent">
<span title="meta 'title' provides file name for this resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">title</span>' <span class="attribute">content</span>='<a href="MetadataExamples.x3d">MetadataExamples.x3d</a>'/>
</span><br />

<span title="meta 'description' provides summary overview describing this resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">description</span>' <span class="attribute">content</span>='<span class="plain">Simple examples of meta statements, comments, WorldInfo node and typed metadata nodes.</span>'/>
</span><br />

<span title="meta 'creator' provides name of original author"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">creator</span>' <span class="attribute">content</span>='<span class="value">Don Brutzman</span>'/>
</span><br />

<span title="meta 'created' provides date of initial version"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">created</span>' <span class="attribute">content</span>='<span class="value">30 September 2011</span>'/>
</span><br />

<span title="meta 'modified' provides date of modified version"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">modified</span>' <span class="attribute">content</span>='<span class="value">24 February 2016</span>'/>
</span><br />

<span title="meta 'info' provides additional information of interest"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">info</span>' <span class="attribute">content</span>='<span class="value">Information in head and meta elements is retained after a scene is parsed and loaded, and can be referenced via the Scene Access Interface (SAI) or Document Object Model (DOM)</span>'/>
</span><br />

<span title="meta 'info' provides additional information of interest"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">info</span>' <span class="attribute">content</span>='<span class="value">Authoring note: MetadataBoolean requires X3D version 3.3, as used in this example scene</span>'/>
</span><br />

<span title="meta 'reference' provides name or reference link to a supporting resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">reference</span>' <span class="attribute">content</span>='<span class="value">The following referenced chapter is published online but was not included in the printed book.</span>'/>
</span><br />

<span title="meta 'reference' provides name or reference link to a supporting resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">reference</span>' <span class="attribute">content</span>='<a href="Chapter15-MetadataInformation.html">Chapter15-MetadataInformation.html</a>'/>
</span><br />

<span title="meta 'reference' provides name or reference link to a supporting resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">reference</span>' <span class="attribute">content</span>='
<a href="http://x3dgraphics.com/chapters/Chapter15-MetadataInformation.html">http://x3dgraphics.com/chapters/Chapter15-MetadataInformation.html</a>
'/>
</span><br />

<span title="meta 'reference' provides name or reference link to a supporting resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">reference</span>' <span class="attribute">content</span>='
<a href="http://X3dGraphics.com">http://X3dGraphics.com</a>
'/>
</span><br />

<span title="meta 'reference' provides name or reference link to a supporting resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">reference</span>' <span class="attribute">content</span>='
<a href="http://www.web3d.org/x3d/content/examples/X3dResources.html">http://www.web3d.org/x3d/content/examples/X3dResources.html</a>
'/>
</span><br />

<span title="meta 'rights' defines intellectual property rights (IPR) for this scene"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">rights</span>' <span class="attribute">content</span>='<span class="value">Copyright 2006, Daly Realism and Don Brutzman</span>'/>
</span><br />

<span title="meta 'subject' provides search-index subject keywords, key phrases, or classification codes"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">subject</span>' <span class="attribute">content</span>='
X3D book, X3D graphics, X3D-Edit, <a href="http://www.x3dGraphics.com">http://www.x3dGraphics.com</a>
'/>
</span><br />

<span title="meta 'identifier' provides the unique Uniform Resource Identifier (URI) or url address for this resource"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">identifier</span>' <span class="attribute">content</span>='
<a href="http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/MetadataExamples.x3d">http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/MetadataExamples.x3d</a>
'/>
</span><br />

<span title="meta 'generator' provides name of authoring tool or translation tool producing this scene"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">generator</span>' <span class="attribute">content</span>='<span class="value">X3D-Edit 3.3, </span>
               <a href="https://savage.nps.edu/X3D-Edit" target="_blank">https://savage.nps.edu/X3D-Edit</a>'/>
</span><br />

<span title="meta 'license' provides software license link or information"><<span class="element">meta</span> <span class="attribute">name</span>='<span class="value">license</span>' <span class="attribute">content</span>='
<a href="../license.html">../license.html</a>'/>
</span></div><span title="head can contain component, unit, and author-defined metadata (meta) tags"></<span class="element">head</span>>
</span><br /><span style="color:white">
<!--
</span>
            <div class="center">
               <hr style="width:100%"/>
               <b>
                  <i>Index for DEF nodes</i>
               </b>: 
<a title="go to this MetadataBoolean node" href="#MyMetadataBooleanNode"
                  class="idName">MyMetadataBooleanNode</a>,
<a title="go to this MetadataDouble node" href="#MyMetadataDoubleNode"
                  class="idName">MyMetadataDoubleNode</a>,
<a title="go to this MetadataFloat node" href="#MyMetadataFloatNode"
                  class="idName">MyMetadataFloatNode</a>,
<a title="go to this MetadataInteger node" href="#MyMetadataIntegerNode"
                  class="idName">MyMetadataIntegerNode</a>,
<a title="go to this MetadataSet node" href="#MyMetadataSetNode" class="idName">MyMetadataSetNode</a>,
<a title="go to this MetadataString node" href="#MyMetadataStringNode"
                  class="idName">MyMetadataStringNode</a>,
<a title="go to this WorldInfo node" href="#MyWorldInfo" class="idName">MyWorldInfo</a>,
<a title="go to this MetadataSet node" href="#NestedMetadataSetNode"
                  class="idName">NestedMetadataSetNode</a>
<br /><hr width="50%"/>
               <b>
                  <i>Index for Viewpoint image</i>
               </b>: 
<a title="go to this Viewpoint node" href="#Viewpoint_1" class="idName">Viewpoint_1</a>
               <hr style="width:100%"/>
            </div>
            <span style="color:white">
-->
</span><br />

<span title="Scene is the root node that contains an X3D scene graph"><<span class="element">Scene</span>>
</span><div class="indent">
               <span title="XML comment"><!-- Comments can appear between nodes (XML elements) but are not retained after a scene is parsed and loaded --></span>
<br /><span title="XML comment"><!-- No Metadata nodes are allowed at top level of Scene graph --></span>
<br />
<a name="MyWorldInfo"> </a> 
<span title="WorldInfo contains persistent documentation information about the 3D world"><<span class="element">WorldInfo</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyWorldInfo</span>' <span class="attribute">info</span>='<span class="value">"Metadata strings" "can go here" "as string array values"</span>' <span class="attribute">title</span>='<span class="value">MetadataExamples.x3d Example Scene</span>'>
</span><div class="indent">
                  <span title="XML comment"><!-- Structured information can go in Metadata nodes. Note that any X3D node can contain a single Metadata node with containerField='metadata' --></span>
<br />
<a name="MyMetadataSetNode"> </a> 
<<span class="element">MetadataSet</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataSetNode</span>' <span class="attribute">name</span>='<span class="value">Metadata_name</span>' <span class="attribute">reference</span>='<span class="value">Standard 1.2.3c</span>' <span class="attribute">containerField</span>='<span class="value">metadata</span>'>
<div class="indent">
                     <span title="XML comment"><!-- MetadataSet can also contain multiple Metadata nodes with containerField='value' --></span>
<br />
<a name="MyMetadataBooleanNode"> </a> 
<<span class="element">MetadataBoolean</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataBooleanNode</span>' <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">Coin Flip</span>' <span class="attribute">reference</span>='<span class="value">MetadataBoolean allowed in X3D v3.3 and later</span>' <span class="attribute">value</span>='<span class="value">true false true false</span>'/>
<br />
<a name="MyMetadataDoubleNode"> </a> 
<<span class="element">MetadataDouble</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataDoubleNode</span>' <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">Metadata_name</span>' <span class="attribute">reference</span>='<span class="value">Standard 1.2.3c</span>' <span class="attribute">value</span>='<span class="value">3.141592658 2.71812181</span>'/>
<br />
<a name="MyMetadataFloatNode"> </a> 
<<span class="element">MetadataFloat</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataFloatNode</span>' <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">Metadata_name</span>' <span class="attribute">reference</span>='<span class="value">Standard 1.2.3c</span>' <span class="attribute">value</span>='<span class="value">9.8 6.023e+23</span>'/>
<br />
<a name="MyMetadataIntegerNode"> </a> 
<<span class="element">MetadataInteger</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataIntegerNode</span>' <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">Metadata_name</span>' <span class="attribute">reference</span>='<span class="value">Standard 1.2.3c</span>' <span class="attribute">value</span>='<span class="value">6 28 496</span>'/>
<br />
<a name="MyMetadataStringNode"> </a> 
<<span class="element">MetadataString</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">MyMetadataStringNode</span>' <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">Metadata_name</span>' <span class="attribute">reference</span>='<span class="value">Standard 1.2.3c</span>' <span class="attribute">value</span>='<span class="value">"Part 27" "P27" "p27"</span>'/>
<br />
<a name="NestedMetadataSetNode"> </a> 
<<span class="element">MetadataSet</span> <span class="attribute">DEF</span>='<span class="idName" title="DEF name is a unique ID for a given node">NestedMetadataSetNode</span>' <span class="attribute">name</span>='<span class="value">TestNestedMetadataSetNodes</span>' <span class="attribute">containerField</span>='<span class="value">metadata</span>'>
<div class="indent">
<<span class="element">MetadataString</span> <span class="attribute">USE</span>='<a title="go to the original DEF node definition" href="#MyMetadataStringNode"
                           class="idName">MyMetadataStringNode</a>' <span class="attribute">containerField</span>='<span class="value">value</span>'/>
<br />

<<span class="element">MetadataInteger</span> <span class="attribute">USE</span>='<a title="go to the original DEF node definition" href="#MyMetadataIntegerNode"
                           class="idName">MyMetadataIntegerNode</a>' <span class="attribute">containerField</span>='<span class="value">value</span>'/>
<br />

<<span class="element">MetadataFloat</span> <span class="attribute">USE</span>='<a title="go to the original DEF node definition" href="#MyMetadataFloatNode"
                           class="idName">MyMetadataFloatNode</a>' <span class="attribute">containerField</span>='<span class="value">value</span>'/>
<br />

<<span class="element">MetadataFloat</span> <span class="attribute">containerField</span>='<span class="value">value</span>' <span class="attribute">name</span>='<span class="value">coefficients</span>' <span class="attribute">value</span>='<span class="value">3.141592653 2.7128 1 0</span>'/>
</div></<span class="element">MetadataSet</span>>
</div></<span class="element">MetadataSet</span>>
</div><span title="WorldInfo contains persistent documentation information about the 3D world"></<span class="element">WorldInfo</span>>
</span><br />

<span title="Background simulates ground and sky, using vertical arrays of wraparound color values or backdrop textures on all six sides"><<span class="element">Background</span> <span class="attribute">skyColor</span>='<span class="value">0 0.439216 0.760784</span>'/>
</span><br />
<a name="Viewpoint_0"> </a> 
<span title="Viewpoint provides a specific location and direction where the user may view the scene"><<span class="element">Viewpoint</span> <span class="attribute">description</span>='<a title="viewpoint image (produced using Xj3D)"
                  href="_viewpoints/MetadataExamples.x3d._VP_View_scene_source_to_see_metadata_examples.png">View scene source to see metadata examples</a>' <span class="attribute">position</span>='<span class="value">0 0 9</span>'/>
</span><br />

<span title="Selecting Anchored geometry loads content specified by the url field"><<span class="element">Anchor</span> <span class="attribute">description</span>='<span class="value">view pretty-print scene source</span>' <span class="attribute">parameter</span>='<span class="value">"target=_blank"</span>'
<br />
  <span title="uniform resource locator (url) list of relative or absolute file addresses, performed in order until resource retrieval succeeds"><span class="attribute">url</span>='
 "<a href="MetadataExamples.html">MetadataExamples.html</a>" "<a href="http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/MetadataExamples.html">http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/MetadataExamples.html</a>" '</span>>
</span><div class="indent">
<span title="Shape contains geometry and optional corresponding Appearance"><<span class="element">Shape</span>>
</span><div class="indent">
<span title="Text is a geometry primitive node"><<span class="element">Text</span> <span class="attribute">string</span>='<span class="value">"View scene source" "to see" "metadata examples"</span>'>
</span><div class="indent">
<span title="FontStyle defines the size, family, justification, and other styles used by Text nodes"><<span class="element">FontStyle</span> <span class="attribute">justify</span>='<span class="value">"MIDDLE" "MIDDLE"</span>'/>
</span></div><span title="Text is a geometry primitive node"></<span class="element">Text</span>>
</span><br />

<span title="Appearance specifies visual properties of geometry by containing Material, texture and TextureTransform nodes"><<span class="element">Appearance</span>>
</span><div class="indent">
<span title="Material specifies surface rendering properties for associated geometry"><<span class="element">Material</span> <span class="attribute">diffuseColor</span>='<span class="value">1 0.992157 0.039216</span>'/>
</span></div><span title="Appearance specifies visual properties of geometry by containing Material, texture and TextureTransform nodes"></<span class="element">Appearance</span>>
</span></div><span title="Shape contains geometry and optional corresponding Appearance"></<span class="element">Shape</span>>
</span></div><span title="Selecting Anchored geometry loads content specified by the url field"></<span class="element">Anchor</span>>
</span></div><span title="Scene is the root node that contains an X3D scene graph"></<span class="element">Scene</span>>
</span></div><span title="X3D is the top-most XML element for an Extensible 3D (X3D) Graphics file"></<span class="element">X3D</span>>
</span><br /><span style="color:white">
<!--
</span>
         <div class="center">
            <hr style="width:100%"/>
            <b>
               <i>Index for DEF nodes</i>
            </b>: 
<a title="go to this MetadataBoolean node" href="#MyMetadataBooleanNode"
               class="idName">MyMetadataBooleanNode</a>,
<a title="go to this MetadataDouble node" href="#MyMetadataDoubleNode"
               class="idName">MyMetadataDoubleNode</a>,
<a title="go to this MetadataFloat node" href="#MyMetadataFloatNode"
               class="idName">MyMetadataFloatNode</a>,
<a title="go to this MetadataInteger node" href="#MyMetadataIntegerNode"
               class="idName">MyMetadataIntegerNode</a>,
<a title="go to this MetadataSet node" href="#MyMetadataSetNode" class="idName">MyMetadataSetNode</a>,
<a title="go to this MetadataString node" href="#MyMetadataStringNode"
               class="idName">MyMetadataStringNode</a>,
<a title="go to this WorldInfo node" href="#MyWorldInfo" class="idName">MyWorldInfo</a>,
<a title="go to this MetadataSet node" href="#NestedMetadataSetNode"
               class="idName">NestedMetadataSetNode</a>
<br /><hr width="50%"/>
            <b>
               <i>Index for Viewpoint image</i>
            </b>: 
<a title="go to this Viewpoint node" href="#Viewpoint_1" class="idName">Viewpoint_1</a>
            <hr style="width:100%"/>
         </div>
         <span style="color:white">
-->
</span>
      </div>
      <p style="text-align:center; background-color:lightgrey">
         <span style="color:lightgrey"><!--</span>
Color key: <!--(matching X3D and XML terminology) -->
<<span class="element">X3dNode</span>
         <span class="idName"> DEF</span>='<span class="idName">idName</span>' <span class="attribute">field</span>='<span class="value">value</span>'/> 
 matches 
<<span class="element">XmlElement</span>
         <span class="idName"> DEF</span>='<span class="idName">idName</span>' <span class="attribute">attribute</span>='<span class="value">value</span>'/> 
<span style="color:lightgrey"> --></span>
      </p>
      <p style="text-align:center; background-color:white">
         <span style="color:white"><!--</span>

                    Additional help information about X3D scenes:  
                    <a href="http://www.web3d.org/x3d/content/examples/X3dResources.html"
            title="Numerous resources that support X3D graphics">X3D Resources</a>,
                    <a href="http://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html"
            title="Style guidelines, authoring tips and best practices">X3D Scene Authoring Hints</a>
                    and
                    <a href="http://www.web3d.org/x3d/content/X3dTooltips.html"
            title="Summary descriptions and authoring hints for each X3D node (element) and field (attribute)">X3D Tooltips</a>
         <span style="color:white">--></span>
      </p>
   </body>
</html>