A ResourceType is an XML schema element type used to define elements that are resources. ResourceType extends DefinitionElementType, by adding a URI element that references the resource. Although the typical ResourceType element is named Resource, ResourceType may be used as the type for any element that contains a resource. ResourceType may also be extended to further define more complex resource types.
Example
<Resource xml:class="_13991">
<Name>Tadpoles Swimming</Name>
<URI>http://www.example.com/movies/tadpolesSwimming</URI>
</Resource>
In addition to the elements supplied by DefinitionElementType:
The Resource element MUST have an xml:id attribute. This attribute is the unique identifier for the resource within the context of an XML document. Maximum length is 31 characters.
The Resource element MAY have a parent attribute. This attribute is the identifier of another element whose type is derived from ResourceType. If this element is not present, then the resource's parent is its container. This attribute is generally used to arrange resources in a resource hierarchy.
The Resource element MAY contain one or more URI elements. This element is the URI to the resource. If the resource data is localizeable, the default language is US English (en-US). However, another language may be specified by adding an xml:lang attribute with an RFC1766 language designation. Each language designation may only have a single Resource element associated with it.
ResourceType is a chameleon schema document that takes on the XML namespace of the including schema document. The appropriate schema location designation is http://zlst.org/schemas/2001/ResourceType/ResourceType.xsd.