| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- ============================================================= -->
- <!-- HEADER -->
- <!-- ============================================================= -->
- <!-- MODULE: DITA Topic XSD -->
- <!-- VERSION: 1.2 -->
- <!-- DATE: November 2009 -->
- <!-- -->
- <!-- ============================================================= -->
- <!-- ============================================================= -->
- <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
- <!-- -->
- <!-- PURPOSE: W3C XML Schema to describe DITA Topics -->
- <!-- -->
- <!-- ORIGINAL CREATION DATE: -->
- <!-- March 2001 -->
- <!-- -->
- <!-- (C) Copyright OASIS-Open.org 2005, 2009 -->
- <!-- (C) Copyright IBM Corporation 2001, 2004. -->
- <!-- All Rights Reserved. -->
- <!-- ============================================================= -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
- attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
- <!-- Add the domains to the base topic XML Schema -->
- <!-- ================ TOPIC DOMAINS ===================== -->
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:abbreviateDomain.xsd:1.2"/>
- <!-- ================ GROUP DEFINITIONS ===================== -->
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
- <!-- ================= MODULE INLCUDE DEFINITION ================== -->
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
- <!-- ======== Table elements ======== -->
- <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2">
- <xs:group name="stentry.content">
- <xs:choice>
- <xs:group ref="stentry.content"/>
- <xs:element ref="RelatedFeature"/>
- <xs:element ref="RelatedFeaturesForEach"/>
- </xs:choice>
- </xs:group>
- <xs:group name="p.content">
- <xs:choice>
- <xs:group ref="p.content"/>
- <xs:element ref="RelatedFeaturesForEach"/>
- </xs:choice>
- </xs:group>
- </xs:redefine>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
- <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
- <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
- <xs:group name="keyword">
- <xs:choice>
- <xs:group ref="keyword"/>
- <xs:group ref="pr-d-keyword"/>
- <xs:group ref="ui-d-keyword"/>
- <xs:group ref="sw-d-keyword"/>
- </xs:choice>
- </xs:group>
- <xs:group name="ph">
- <xs:choice>
- <xs:group ref="ph"/>
- <xs:group ref="pr-d-ph"/>
- <xs:group ref="ui-d-ph"/>
- <xs:group ref="hi-d-ph"/>
- <xs:group ref="sw-d-ph"/>
- </xs:choice>
- </xs:group>
- <xs:group name="pre">
- <xs:choice>
- <xs:group ref="pre"/>
- <xs:group ref="pr-d-pre"/>
- <xs:group ref="ui-d-pre"/>
- <xs:group ref="sw-d-pre"/>
- </xs:choice>
- </xs:group>
- <xs:group name="dl">
- <xs:choice>
- <xs:group ref="dl"/>
- <xs:group ref="pr-d-dl"/>
- </xs:choice>
- </xs:group>
- <xs:group name="fig">
- <xs:choice>
- <xs:group ref="fig"/>
- <xs:group ref="pr-d-fig"/>
- <xs:group ref="ut-d-fig"/>
- </xs:choice>
- </xs:group>
- <xs:group name="index-base">
- <xs:choice>
- <xs:group ref="index-base"/>
- <xs:group ref="indexing-d-index-base"/>
- </xs:choice>
- </xs:group>
- <xs:group name="note">
- <xs:choice>
- <xs:group ref="note"/>
- <xs:group ref="hazard-d-note"/>
- </xs:choice>
- </xs:group>
- <xs:group name="term">
- <xs:choice>
- <xs:group ref="term"/>
- <xs:group ref="abbrev-d-term"/>
- </xs:choice>
- </xs:group>
- <xs:attributeGroup name="props-attribute-extensions">
- <xs:attributeGroup ref="props-attribute-extensions"/>
- <xs:attributeGroup ref="procesy5-dita-extensions"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="base-attribute-extensions">
- <xs:attributeGroup ref="base-attribute-extensions"/>
- <xs:attributeGroup ref="procesy5-dita-extensions"/>
- </xs:attributeGroup>
- </xs:redefine>
- <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2"/>
- <xs:group name="info-types">
- <xs:sequence/>
- </xs:group>
- <xs:attributeGroup name="domains-att">
- <xs:attribute name="domains" type="xs:string"
- default="(topic abbrev-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic pr-d) (topic sw-d) (topic ui-d) (topic ut-d)"
- />
- </xs:attributeGroup>
- <xs:attributeGroup name="procesy5-dita-extensions">
- <xs:attribute name="ID_PROCES"/>
- <xs:attribute name="ID_ZASOB"/>
- <xs:attribute name="ID_CRM_ASSOC"/>
- <xs:attribute name="FIELD"/>
- <xs:attribute name="typeName"/>
- <xs:attribute name="xpath"/>
- </xs:attributeGroup>
- <xs:element name="RelatedFeature">
- <xs:complexType mixed="true">
- <xs:choice>
- <xs:group ref="topic"/>
- <xs:choice maxOccurs="unbounded">
- <xs:group ref="ph"/>
- <xs:group ref="p"/>
- </xs:choice>
- </xs:choice>
- <xs:attribute name="typeName" use="required">
- <xs:annotation>
- <xs:documentation>ex: typeName="p5_default_db:BILLING_OWNER"</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:pattern value=".*:.*"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="xpath" type="xs:Name" use="required">
- <xs:annotation>
- <xs:documentation>Like ID_BILLING_OWNER to show that (in some xpath meaning) current()/ID_BILLING_OWNER = node()[@typeName]/node()[type()='primary_key']</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="xpath_value" type="xs:string">
- <xs:annotation>
- <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="RelatedFeaturesForEach">
- <xs:complexType>
- <xs:choice>
- <xs:group ref="topic"/>
- <xs:choice maxOccurs="unbounded">
- <xs:group ref="ph"/>
- <xs:group ref="p"/>
- </xs:choice>
- </xs:choice>
- <xs:attribute name="typeName" use="required">
- <xs:annotation>
- <xs:documentation>ex: typeName="p5_default_db:BILLING_OWNER"</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:pattern value=".*:.*"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="xpath" type="xs:Name" use="required">
- <xs:annotation>
- <xs:documentation>Like ID_BILLING_OWNER to show that (in some xpath meaning) current()/ID_BILLING_OWNER = node()[@typeName]/node()[type()='primary_key']</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="xpath_value" type="xs:string">
- <xs:annotation>
- <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|