element unit

diagram |
type | extension of SceneGraphStructureStatement
properties |
content | complex
used by |
element | head
attributes |
Name | Type | Use | Default | Fixed | Annotation
category | unitCategoryChoices | required |  |  |
name | xs:NMTOKEN | required |  |  |
conversionFactor | derived by: SFDouble | required |  |  |
appinfo
Warning: conversionFactor is required and must be specified in source document.
annotation |
appinfo
<!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors --> <xs:attribute name="conversionFactor" type="SFDouble" default="1.0"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> Functional summary: unit statement defines data-conversion factors for typed values defined in a scene.
source | <xs:element name="unit"> <xs:annotation> <xs:appinfo> <!-- provide default value for API; explicit definition still required in XML documents to avoid assumption errors --> <xs:attribute name="conversionFactor" type="SFDouble" default="1.0"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Core"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> Functional summary: unit statement defines data-conversion factors for typed values defined in a scene. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/core.html#UNITStatement"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="SceneGraphStructureStatement"> <xs:attribute name="category" type="unitCategoryChoices" use="required"/> <xs:attribute name="name" type="xs:NMTOKEN" use="required"> <xs:annotation> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </xs:attribute> <xs:attribute name="conversionFactor" use="required"> <xs:annotation> <xs:appinfo> Warning: conversionFactor is required and must be specified in source document. </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFDouble"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>

attribute unit/@category

type | unitCategoryChoices
properties |
use | required
facets |
Kind | Value | Annotation
enumeration | angle |
enumeration | force |
enumeration | length |
enumeration | mass |
source | <xs:attribute name="category" type="unitCategoryChoices" use="required"/>

attribute unit/@name

type | xs:NMTOKEN
properties |
use | required
source | <xs:attribute name="name" type="xs:NMTOKEN" use="required"> <xs:annotation> <xs:documentation source="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NameTyping"/> </xs:annotation> </xs:attribute>

attribute unit/@conversionFactor

type | restriction of SFDouble
properties |
use | required
facets |
Kind | Value | Annotation
minExclusive | 0 |
annotation |
appinfo
Warning: conversionFactor is required and must be specified in source document.
source | <xs:attribute name="conversionFactor" use="required"> <xs:annotation> <xs:appinfo> Warning: conversionFactor is required and must be specified in source document. </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFDouble"> <xs:minExclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute>

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