An example of a doctype with a doctype-specific type.
This example creates a doctype with only standard properties and sections. By declaring a type, a second blueprint will be created that allows specifying type documents. These type documents allow to categorize the doctype instances.
Example
The example provides labels and texts and a list of related doctypes. Since this doctype relies on defaults, the declaration is quite short.
<?xml version='1.0'?>
<doctype
xmlns="http://smartics.de/xsd/projectdoc/doctype/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="example"
base-template="standard"
provide-type="standard-type">
<resource-bundle>
<l10n>
<name>Example</name>
<description>
Create examples to show usage.
</description>
<about>
Provide an example to help user's understand how to use a feature.
</about>
</l10n>
<l10n locale="de">
<name plural="Beispiele">Beispiel</name>
<description>
Erstellen Sie ein Beispiel, das die Anwendung zeigt.
</description>
<about>
Dokumentieren Sie für Ihre Nutzer die Verwendung eines Features.
</about>
</l10n>
</resource-bundle>
</doctype>