code-srv-test/dita-ot-3.6/plugins/org.oasis-open.dita.v1_3/schema-url/learning/xsd/learningContent.xsd
2021-03-23 22:38:58 +00:00

202 lines
9 KiB
XML
Executable file

<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================================= -->
<!-- HEADER -->
<!-- ============================================================= -->
<!-- Darwin Information Typing Architecture (DITA) Version 1.3 Plus Errata 02 -->
<!-- OASIS Standard -->
<!-- 16 January 2018 -->
<!-- Copyright (c) OASIS Open 2018. All rights reserved. -->
<!-- Source: http://docs.oasis-open.org/dita/dita/v1.3/errata02/csprd01/complete/part0-overview/dita-v1.3-errata02-csprd01-part0-overview-complete.html -->
<!-- -->
<!-- ============================================================= -->
<!-- MODULE: DITA learningContent XSD -->
<!-- VERSION: 0.1 -->
<!-- DATE: May 2007 -->
<!-- -->
<!-- ============================================================= -->
<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
<!-- -->
<!-- PURPOSE: W3C XML Schema to describe DITA Learning Base -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- May 2007 -->
<!-- -->
<!-- UPDATES: -->
<!-- ============================================================= -->
<xs:schema xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!-- ================ TOPIC DOMAINS ===================== -->
<xs:include schemaLocation="../../base/xsd/deliveryTargetAttDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/highlightDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/indexingDomain.xsd"/>
<xs:include schemaLocation="../../technicalContent/xsd/releaseManagementDomain.xsd"/>
<xs:include schemaLocation="../../base/xsd/utilitiesDomain.xsd"/>
<xs:include schemaLocation="./learningInteractionBaseDomain.xsd"/>
<xs:include schemaLocation="./learningInteractionBase2Domain.xsd"/>
<xs:include schemaLocation="./learningDomain.xsd"/>
<xs:include schemaLocation="./learning2Domain.xsd"/>
<xs:include schemaLocation="./learningMetadataDomain.xsd"/>
<!-- ================ GROUP DEFINITIONS ===================== -->
<xs:include schemaLocation="../../base/xsd/tblDeclGrp.xsd"/>
<xs:include schemaLocation="./learningBaseGrp.xsd"/>
<xs:include schemaLocation="../../base/xsd/topicGrp.xsd"/>
<xs:include schemaLocation="../../technicalContent/xsd/taskGrp.xsd"/>
<xs:include schemaLocation="../../technicalContent/xsd/conceptGrp.xsd"/>
<xs:include schemaLocation="../../technicalContent/xsd/referenceGrp.xsd"/>
<xs:include schemaLocation="./learningSummaryGrp.xsd"/>
<xs:include schemaLocation="./learningAssessmentGrp.xsd"/>
<xs:include schemaLocation="./learningContentGrp.xsd"/>
<!-- ================= MODULE INCLUDE DEFINITION ================== -->
<xs:include schemaLocation="../../base/xsd/commonElementMod.xsd"/>
<!-- ======== Table elements ======== -->
<xs:include schemaLocation="../../base/xsd/tblDeclMod.xsd"/>
<!-- ======= MetaData elements, plus keyword and indexterm ======= -->
<xs:include schemaLocation="../../base/xsd/metaDeclMod.xsd"/>
<xs:redefine schemaLocation="../../base/xsd/commonElementGrp.xsd">
<xs:group name="data">
<xs:choice>
<xs:group ref="data"/>
<xs:group ref="ut-d-data"/>
</xs:choice>
</xs:group>
<xs:group name="note">
<xs:choice>
<xs:group ref="note"/>
<xs:group ref="learning-d-note"/>
<xs:group ref="learning2-d-note"/>
</xs:choice>
</xs:group>
<xs:group name="fig">
<xs:choice>
<xs:group ref="fig"/>
<xs:group ref="ut-d-fig"/>
<xs:group ref="learningInteractionBase-d-fig"/>
<xs:group ref="learning-d-fig"/>
</xs:choice>
</xs:group>
<xs:group name="div">
<xs:choice>
<xs:group ref="div"/>
<xs:group ref="learningInteractionBase2-d-div"/>
<xs:group ref="learning2-d-div"/>
</xs:choice>
</xs:group>
<xs:group name="ph">
<xs:choice>
<xs:group ref="ph"/>
<xs:group ref="hi-d-ph"/>
</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:attributeGroup name="props-attribute-extensions">
<xs:attributeGroup ref="props-attribute-extensions"/>
<xs:attributeGroup ref="deliveryTargetAtt-d-attribute"/>
</xs:attributeGroup>
</xs:redefine>
<xs:redefine schemaLocation="../../base/xsd/metaDeclGrp.xsd">
<xs:group name="metadata">
<xs:choice>
<xs:group ref="metadata"/>
<xs:group ref="relmgmt-d-metadata"/>
<xs:group ref="learningmeta-d-metadata"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:include schemaLocation="./learningBaseMod.xsd"/>
<xs:redefine schemaLocation="../../base/xsd/topicMod.xsd">
<xs:group name="topic-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="../../technicalContent/xsd/taskMod.xsd">
<xs:group name="task-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="../../technicalContent/xsd/conceptMod.xsd">
<xs:group name="concept-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="../../technicalContent/xsd/referenceMod.xsd">
<xs:group name="reference-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="./learningSummaryMod.xsd">
<xs:group name="learningSummary-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="./learningAssessmentMod.xsd">
<xs:group name="learningAssessment-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
</xs:redefine>
<xs:redefine schemaLocation="./learningContentMod.xsd">
<xs:group name="learningContent-info-types">
<xs:choice>
<xs:group ref="info-types"/>
</xs:choice>
</xs:group>
<xs:group name="learningContent.content">
<xs:sequence>
<xs:group ref="learningContent.content"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="concept"/>
<xs:element ref="reference"/>
<xs:element ref="task"/>
<xs:element ref="topic"/>
</xs:choice>
<xs:sequence>
<xs:element ref="learningAssessment" minOccurs="0"/>
<xs:element ref="learningSummary" minOccurs="0"/>
</xs:sequence>
</xs:sequence>
</xs:group>
</xs:redefine>
<!-- ================ INFO-TYPES DEFINITION ===================== -->
<xs:group name="info-types">
<xs:annotation>
<xs:documentation>
This group is referenced in all topic modules but not defined there.
It must be declared in topic-type shells.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element ref="no-topic-nesting" maxOccurs="0" minOccurs="0"/>
</xs:choice>
</xs:group>
<xs:attributeGroup name="domains-att">
<xs:attribute name="domains"
type="xs:string"
default="(topic concept) (topic hi-d) (topic indexing-d) (topic learningBase+learningInteractionBase-d) (topic learningBase+learningInteractionBase-d learningAssessment) (topic learningBase learningSummary) (topic learningBase+learningInteractionBase-d learningContent) (topic learningBase+learningInteractionBase-d+learningInteractionBase2) (topic learningInteractionBase-d learning-d) (topic learningInteractionBase-d) (topic learningInteractionBase2-d learning2-d) (topic learningInteractionBase2-d) (topic learningmeta-d) (topic reference) (topic relmgmt-d) (topic task) (topic ut-d) a(props deliveryTarget)"/>
</xs:attributeGroup>
</xs:schema>