| <?xml version="1.0" encoding="UTF-8"?> <!-- ============================================================= --> <!-- HEADER --> <!-- ============================================================= --> <!-- MODULE: DITA Metadata --> <!-- VERSION: 1.1 --> <!-- DATE: November 2006 --> <!-- --> <!-- ============================================================= --> <!-- ============================================================= --> <!-- SYSTEM: Darwin Information Typing Architecture (DITA) --> <!-- --> <!-- PURPOSE: Declaring the elements and specialization --> <!-- attributes for the DITA XML Metadata --> <!-- --> <!-- ORIGINAL CREATION DATE: --> <!-- March 2001 --> <!-- --> <!-- (C) Copyright OASIS-Open.org 2005, 2006 --> <!-- (C) Copyright IBM Corporation 2001, 2004. --> <!-- All Rights Reserved. --> <!-- ============================================================= --> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:annotation> <xs:documentation> The < <keyword>author</keyword> > metadata element contains the name of the topic's author. The currently unsupported keyref attribute can point to another location where the author information is defined. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/author " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> <xs:attribute name="href" type="xs:string"/> <xs:attribute name="keyref" type="xs:string"/> </xs:complexType> <xs:restriction base="xs:string"> <xs:enumeration value="creator"/> <xs:enumeration value="contributor"/> <xs:enumeration value="-dita-use-conref-target"/> </xs:restriction> </xs:simpleType> <xs:annotation> <xs:documentation> The < <keyword>source</keyword> > element contains a reference to a resource from which the present topic is derived, either completely or in part. The element can contain a description of the resource; the <keyword>href</keyword> reference can be a string or a URL that points to it. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/source " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> <xs:attribute name="href" type="xs:string"/> <xs:attribute name="keyref" type="xs:string"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>publisher</keyword> > metadata element contains the name of the person, company, or organization responsible for making the content or subject of the topic available. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/publisher " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> <xs:attribute name="href" type="xs:string"/> <xs:attribute name="keyref" type="xs:string"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>copyright</keyword> > element is used for a single copyright entry. It includes the copyright years and the copyright holder. Multiple < <keyword>copyright</keyword> > statements are allowed. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/copyright " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> <xs:group maxOccurs="unbounded" ref="copyryear"/> </xs:sequence> </xs:complexType> <xs:restriction base="xs:string"> <xs:enumeration value="primary"/> <xs:enumeration value="secondary"/> <xs:enumeration value="-dita-use-conref-target"/> </xs:restriction> </xs:simpleType> <xs:annotation> <xs:documentation> The < <keyword>copyryear</keyword> > element contains the copyright year as specified by the <keyword>year</keyword> attribute. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/copyryear " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="year" type="xs:gYear" use="required"/> </xs:complexType> <xs:annotation> <xs:documentation> The copyright holder (< <keyword>copyrholder</keyword> >) element names the entity that holds legal rights to the material contained in the topic. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/copyrholder " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>critdates</keyword> > element contains the critical dates in a document life cycle, such as the creation date and multiple revision dates. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/critdates " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> <xs:group maxOccurs="unbounded" minOccurs="0" ref="revised"/> </xs:sequence> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>revised</keyword> > element in the prolog is used to maintain tracking dates that are important in a topic development cycle, such as the last modification date, the original availability date, and the expiration date. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/revised " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="modified" type="xs:string" use="required"/> <xs:attribute name="golive" type="xs:string"/> <xs:attribute name="expiry" type="xs:string"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>created</keyword> > element specifies the document creation date using the <keyword>date</keyword> attribute. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/created " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="date" type="xs:string" use="required"/> <xs:attribute name="golive" type="xs:string"/> <xs:attribute name="expiry" type="xs:string"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>resourceid</keyword> > element provides an identifier for applications that require them in a particular format, when the normal id attribute of the topic can't be used. Each resourceid entry should be unique. It is one of the metadata elements that can be included within the prolog of a topic, along with document tracking and product information, etc. The element has no content, but takes an <keyword>id</keyword> attribute or an <keyword>appname</keyword> attribute. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/resourceid " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="id" type="xs:string" use="required"/> <xs:attribute name="appname" type="xs:string"/> <xs:attribute name="conref" type="xs:string"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>audience</keyword> > metadata element indicates, through the value of its type attribute, the intended audience for a topic. Since a topic can have multiple audiences, you can include multiple audience elements. For each audience you specify, you can identify the high-level task ( <keyword>job</keyword> ) they are trying to accomplish and the level of experience ( <keyword>experiencelevel</keyword> ) expected. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/audience " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="othertype" type="xs:string"/> <xs:attribute name="otherjob" type="xs:string"/> <xs:attribute name="name" type="xs:NMTOKEN"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>category</keyword> > element can represent any category by which a topic might be classified for retrieval or navigation; for example, the categories could be used to group topics in a generated navigation bar. Topics can belong to multiple categories. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/category " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>keywords</keyword> > element contains a list of keyword entries (using <ph> <xref href="indexterm.xml">indexterm</xref> </ph> or <ph> <xref href="keyword.xml">keyword</xref> </ph> markup) that can be used by a search engine. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/keywords " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>othermeta</keyword> > element can be used to identify properties not otherwise included in < <keyword>metadata</keyword> > and assign name/content values to those properties. The name attribute identifies the property and the content attribute specifies the property's value. The values in this attribute are output as HTML metadata elements, and have no defined meaning for other possible outputs such as PDF. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/othermeta " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="content" type="xs:string" use="required"/> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>permissions</keyword> > empty prolog element can indicate any preferred controls for access to a topic. Topics can be filtered based on the permissions element. This capability depends on your output formatting process. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/permissions " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>prodinfo</keyword> > metadata element in the prolog contains information about the product or products that are the subject matter of the current topic. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/prodinfo " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:complexType> <xs:element name="brand"> <xs:annotation> <xs:documentation> The < <keyword>brand</keyword> > element indicates the manufacturer or brand associated with the product described by the parent <ph> <xref href="prodinfo.xml"> < <keyword>prodinfo</keyword> > </xref> </ph> element. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/brand " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>series</keyword> > metadata element contains information about the product series that the topic supports. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/series " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>platform</keyword> > metadata element contains a description of the operating system and/or hardware related to the product being described by the < <keyword>prodinfo</keyword> > element. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/platform " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>prognum</keyword> > metadata element identifies the program number of the associated program product. This is typically an order number or a product tracking code that could be replaced by an order number when a product completes development. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/prognum " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>featnum</keyword> > element contains the feature number of a product in the document metadata. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/featnum " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>component</keyword> > element describes the component of the product that this topic is concerned with. For example, a product might be made up of many components, each of which is installable separately. Components might also be shared by several products so that the same component is available for installation with many products. This identification can be used to check cross-component dependencies when some components are installed, but not others. It could also be used to make sure that topics are hidden, removed, or flagged in some way when the component they describe isn't installed. Such process-control logic is not currently supported in DITA processing. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/component " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The < <keyword>prodname</keyword> > metadata element contains the name of the product that is supported by the information in this topic. </xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:attribute default="- topic/prodname " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:complexType> <xs:choice> </xs:choice> </xs:group> <xs:annotation> <xs:documentation> The < <keyword>vrmlist</keyword> > element contains a set of < <keyword>vrm</keyword> > elements for logging the version, release, and modification information for multiple products or versions of products to which the topic applies. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/vrmlist " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:choice maxOccurs="unbounded"> </xs:choice> </xs:complexType> <xs:annotation> <xs:documentation> The empty < <keyword>vrm</keyword> > element contains information about a single product's version, modification, and release, to which the current topic applies. </xs:documentation> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:attribute default="- topic/vrm " ref="class"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:attribute name="version" type="xs:string" use="required"/> <xs:attribute name="release" type="xs:string"/> </xs:complexType> <xs:restriction base="xs:string"> <xs:enumeration value="user"/> <xs:enumeration value="purchaser"/> <xs:enumeration value="administrator"/> <xs:enumeration value="programmer"/> <xs:enumeration value="executive"/> <xs:enumeration value="services"/> <xs:enumeration value="other"/> <xs:enumeration value="-dita-use-conref-target"/> </xs:restriction> </xs:simpleType> </xs:schema> |