Tamino XML Server Version 9.7
 —  Tamino XML Schema Reference Guide  —

tsd:doctype

Purpose

This element specifies the properties of a Tamino doctype.

Multiple doctypes can be defined by a single schema.

Parent element tsd:schemaInfo
Child elements

tsd:logical, tsd:physical, tsd:nonXML

Attributes name
Attributes
Name Type Description
name xs:QName Specifies the name of the corresponding doctype. The name of a doctype must be unique within a collection, not just within a schema. For an XML doctype, its name references a global element with same name. For a non-XML doctype, no global element with that name is allowed to exist.

Example

This example demonstrates the use of the tsd:doctype element for the definition of a doctype named "Telephone" with closed content:

<tsd:schemaInfo name = "Telephone">
  <tsd:collection name = "Sample"></tsd:collection>
  <tsd:doctype name = "Telephone">
    <tsd:logical>
      <tsd:content>closed</tsd:content>
    </tsd:logical>
  </tsd:doctype>
</tsd:schemaInfo>

Top of page