schema Element

This is the root element of the NPCL XML synax. It contains a single types element which in turn contains the various type definition elements.

<npcl:schema>
  <npcl:types>
    <npcl:abstractType ...> ... </npcl:abstractType>
    <npcl:topicType ... > ... </npcl:topicType>
    <npcl:occurrenceType ... > ... </npcl:occurrenceType>
    <npcl:associationType ... > ... </npcl:associationType>
    <npcl:roleType ... > ... </npcl:roleType>
    <npcl:scopingTopic ... > ... </npcl:scopingTopic>
  </npcl:types>
</npcl:schema>
npcl:schema

The root of an NPCL schema definition.

npcl:schema/npcl:types

The wrapper for all type definitions contained in the schema. This element is OPTIONAL. The children of this element are allowed to appear in any order.

npcl:schema/npcl:types/npcl:abstractType

An OPTIONAL, REPEATABLE element describing a single Abstract Type in the schema.

npcl:schema/npcl:types/npcl:topicType

An OPTIONAL, REPEATABLE element describing a single Topic Type in the schema.

npcl:schema/npcl:types/npcl:occurrenceType

An OPTIONAL, REPEATABLE element describing a single Occurrence Type in the schema.

npcl:schema/npcl:types/npcl:associationType

An OPTIONAL, REPEATABLE element describing a single Assoiation Type in the schema.

npcl:schema/npcl:types/npcl:roleType

An OPTIONAL, REPEATABLE element describing a single Role Type in the schema.

npcl:schema/npcl:types/npcl:scopingTopic

An OPTIONAL, REPEATABLE element describing a single Scoping Topic in the schema.