Using and Extending the Recommended XML Schema for Qualified Dublin Core
The following are some usage examples for the XML Schemas recommended for Qualified Dublin Core
in the Recommendations for XML Schema for Qualified Dublin Core:
Simple Examples
Unqualified DC
- Some samples are given in the "Recommendations for XML Schema for Qualified Dublin Core" that use a predefined
container schema.
SCHEMA
VALID EXAMPLE
INVALID EXAMPLE
- Simple schema that doesn't use namespaces and has a custom container element which may contain any of the basic DC elements in any number
or any sequence.
SCHEMA VALID EXAMPLE INVALID EXAMPLE
- Simple schema that uses a custom namespace and has a custom container element which may contain any of the basic DC elements in any number
or any sequence.
SCHEMA VALID EXAMPLE INVALID EXAMPLE
- Constrained simple schema that doesn't use a namespace and has a custom container element which may contain only a subset of the
basic DC elements. The number and sequence of the DC elements is also constrained.
SCHEMA VALID EXAMPLE INVALID EXAMPLE
Qualified DC
- Some samples are given in the "Recommendations for XML Schema for Qualified Dublin Core" that use a predefined
container schema.
SCHEMA
VALID EXAMPLE
INVALID EXAMPLE
- Simple schema that doesn't use namespaces and has a custom container element which may contain any of the basic or qualified DC elements
in any number or any sequence, including encoding schemes (via xsi:type).
SCHEMA VALID EXAMPLE INVALID EXAMPLE
- Simple schema that doesn't uses a custom namespace and has a custom container element which may contain any of the basic or qualified DC elements
in any number or any sequence, including encoding schemes (via xsi:type).
SCHEMA VALID EXAMPLE INVALID EXAMPLE
- Constrained simple schema that doesn't use a namespace and has a custom container element which may contain only a subset of the
basic or qualified DC elements. The number and sequence of the DC elements is also constrained. [NOTE: It is not possible to
constrain the allowable encoding schemes. Once the dcterms.xsd is imported, it is legal to specify any encoding
scheme (via xsi:type) for any of the dc elements, basic and qualified.]
SCHEMA VALID EXAMPLE INVALID EXAMPLE