xVRML Character Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.xvrml.net/schemas/Character
Version 0.01
Language en
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.xvrml.net/schemas/core (at http://www.xvrml.net/schemas/xVRML.xsd)
Documentation This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Declared Namespaces

Prefix Namespace
Default namespace http://www.xvrml.net/schemas/Character
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
xvrml http://www.xvrml.net/schemas/core
Schema Component Representation
<xs:schema xml:lang="en" targetNamespace="http://www.xvrml.net/schemas/Character" attributeFormDefault="unqualified" elementFormDefault="qualified" version="0.01">
<xs:import namespace="http://www.xvrml.net/schemas/core" schemaLocation="http://www.xvrml.net/schemas/xVRML.xsd"/>
...
</xs:schema>
top

Global Declarations

Element: ability

Name ability
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<ability
name=" xs:ID [0..1]"
value=" xs:string [0..1]"/>
Schema Component Representation
<xs:element name="ability">
<xs:complexType>
<xs:attribute name="name" type=" xs:ID "/>
<xs:attribute name="value" type=" xs:string "/>
</xs:complexType>
</xs:element>
top

Element: Character

Name Character
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This is the root node for a Character.

Avatar and Possessions required.
XML Instance Representation
<Character
name=" xs:ID [0..1]">
<xvrml:Avatar> ... </xvrml:Avatar> [1]
<Possessions> [1]
Start Sequence [0..*]
<item> ... </item> [1]
End Sequence
</Possessions>
<Abilities> [1]
Start Sequence [0..*]
<ability> ... </ability> [1]
End Sequence
</Abilities>
</Character>
Schema Component Representation
<xs:element name="Character">
<xs:complexType>
<xs:sequence>
<xs:element ref=" xvrml:Avatar "/>
<xs:element name="Possessions">
<xs:complexType>
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:element ref=" item "/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Abilities">
<xs:complexType>
<xs:sequence maxOccurs="unbounded" minOccurs="0">
<xs:element ref=" ability "/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type=" xs:ID "/>
</xs:complexType>
</xs:element>
top

Element: item

Name item
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<item
name=" xs:ID [0..1]"
autonomous=" xs:boolean [0..1]">
<xvrml:Transform> ... </xvrml:Transform> [1]
</item>
Schema Component Representation
<xs:element name="item">
<xs:complexType>
<xs:sequence>
<xs:element ref=" xvrml:Transform "/>
</xs:sequence>
<xs:attribute name="name" type=" xs:ID "/>
<xs:attribute name="autonomous" type=" xs:boolean " default="false"/>
</xs:complexType>
</xs:element>
top