[1fa2099] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | This file is part of DocBook V5.0
|
---|
| 4 |
|
---|
| 5 | Copyright 1992-2008 HaL Computer Systems, Inc.,
|
---|
| 6 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
---|
| 7 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
---|
| 8 | Organization for the Advancement of Structured Information
|
---|
| 9 | Standards (OASIS).
|
---|
| 10 |
|
---|
| 11 | Release: $Id: tasks.rnc 8931 2010-10-20 13:29:20Z nwalsh $
|
---|
| 12 |
|
---|
| 13 | Permission to use, copy, modify and distribute the DocBook schema
|
---|
| 14 | and its accompanying documentation for any purpose and without fee
|
---|
| 15 | is hereby granted in perpetuity, provided that the above copyright
|
---|
| 16 | notice and this paragraph appear in all copies. The copyright
|
---|
| 17 | holders make no representation about the suitability of the schema
|
---|
| 18 | for any purpose. It is provided "as is" without expressed or implied
|
---|
| 19 | warranty.
|
---|
| 20 |
|
---|
| 21 | If you modify the DocBook schema in any way, label your schema as a
|
---|
| 22 | variant of DocBook. See the reference documentation
|
---|
| 23 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
| 24 | for more information.
|
---|
| 25 |
|
---|
| 26 | Please direct all questions, bug reports, or suggestions for changes
|
---|
| 27 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
| 28 | information, see http://www.oasis-open.org/docbook/.
|
---|
| 29 |
|
---|
| 30 | ======================================================================
|
---|
| 31 | -->
|
---|
| 32 | <grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
|
---|
| 33 | <start combine="choice">
|
---|
| 34 | <choice>
|
---|
| 35 | <ref name="db.task"/>
|
---|
| 36 | <ref name="db.taskprerequisites"/>
|
---|
| 37 | <ref name="db.taskrelated"/>
|
---|
| 38 | <ref name="db.tasksummary"/>
|
---|
| 39 | </choice>
|
---|
| 40 | </start>
|
---|
| 41 | <define name="db.technical.blocks" combine="choice">
|
---|
| 42 | <ref name="db.task"/>
|
---|
| 43 | </define>
|
---|
| 44 | <define name="db.task.info">
|
---|
| 45 | <ref name="db._info.title.req"/>
|
---|
| 46 | </define>
|
---|
| 47 | <!-- ====================================================================== -->
|
---|
| 48 | <div>
|
---|
| 49 | <db:refname>task</db:refname>
|
---|
| 50 | <db:refpurpose>A task to be completed</db:refpurpose>
|
---|
| 51 | <define name="db.task.role.attribute">
|
---|
| 52 | <attribute name="role"/>
|
---|
| 53 | </define>
|
---|
| 54 | <define name="db.task.attlist">
|
---|
| 55 | <interleave>
|
---|
| 56 | <optional>
|
---|
| 57 | <ref name="db.task.role.attribute"/>
|
---|
| 58 | </optional>
|
---|
| 59 | <ref name="db.common.attributes"/>
|
---|
| 60 | <ref name="db.common.linking.attributes"/>
|
---|
| 61 | </interleave>
|
---|
| 62 | </define>
|
---|
| 63 | <define name="db.task">
|
---|
| 64 | <element name="task">
|
---|
| 65 | <ref name="db.task.attlist"/>
|
---|
| 66 | <ref name="db.task.info"/>
|
---|
| 67 | <optional>
|
---|
| 68 | <ref name="db.tasksummary"/>
|
---|
| 69 | </optional>
|
---|
| 70 | <optional>
|
---|
| 71 | <ref name="db.taskprerequisites"/>
|
---|
| 72 | </optional>
|
---|
| 73 | <ref name="db.procedure"/>
|
---|
| 74 | <zeroOrMore>
|
---|
| 75 | <ref name="db.example"/>
|
---|
| 76 | </zeroOrMore>
|
---|
| 77 | <optional>
|
---|
| 78 | <ref name="db.taskrelated"/>
|
---|
| 79 | </optional>
|
---|
| 80 | </element>
|
---|
| 81 | </define>
|
---|
| 82 | </div>
|
---|
| 83 | <!-- ====================================================================== -->
|
---|
| 84 | <div>
|
---|
| 85 | <db:refname>tasksummary</db:refname>
|
---|
| 86 | <db:refpurpose>A summary of a task</db:refpurpose>
|
---|
| 87 | <define name="db.tasksummary.role.attribute">
|
---|
| 88 | <attribute name="role"/>
|
---|
| 89 | </define>
|
---|
| 90 | <define name="db.tasksummary.attlist">
|
---|
| 91 | <interleave>
|
---|
| 92 | <optional>
|
---|
| 93 | <ref name="db.tasksummary.role.attribute"/>
|
---|
| 94 | </optional>
|
---|
| 95 | <ref name="db.common.attributes"/>
|
---|
| 96 | <ref name="db.common.linking.attributes"/>
|
---|
| 97 | </interleave>
|
---|
| 98 | </define>
|
---|
| 99 | <define name="db.tasksummary.info">
|
---|
| 100 | <ref name="db._info.title.only"/>
|
---|
| 101 | </define>
|
---|
| 102 | <define name="db.tasksummary">
|
---|
| 103 | <element name="tasksummary">
|
---|
| 104 | <ref name="db.tasksummary.attlist"/>
|
---|
| 105 | <ref name="db.tasksummary.info"/>
|
---|
| 106 | <oneOrMore>
|
---|
| 107 | <ref name="db.all.blocks"/>
|
---|
| 108 | </oneOrMore>
|
---|
| 109 | </element>
|
---|
| 110 | </define>
|
---|
| 111 | </div>
|
---|
| 112 | <!-- ====================================================================== -->
|
---|
| 113 | <div>
|
---|
| 114 | <db:refname>taskprerequisites</db:refname>
|
---|
| 115 | <db:refpurpose>The prerequisites for a task</db:refpurpose>
|
---|
| 116 | <define name="db.taskprerequisites.role.attribute">
|
---|
| 117 | <attribute name="role"/>
|
---|
| 118 | </define>
|
---|
| 119 | <define name="db.taskprerequisites.attlist">
|
---|
| 120 | <interleave>
|
---|
| 121 | <optional>
|
---|
| 122 | <ref name="db.taskprerequisites.role.attribute"/>
|
---|
| 123 | </optional>
|
---|
| 124 | <ref name="db.common.attributes"/>
|
---|
| 125 | <ref name="db.common.linking.attributes"/>
|
---|
| 126 | </interleave>
|
---|
| 127 | </define>
|
---|
| 128 | <define name="db.taskprerequisites.info">
|
---|
| 129 | <ref name="db._info.title.only"/>
|
---|
| 130 | </define>
|
---|
| 131 | <define name="db.taskprerequisites">
|
---|
| 132 | <element name="taskprerequisites">
|
---|
| 133 | <ref name="db.taskprerequisites.attlist"/>
|
---|
| 134 | <ref name="db.taskprerequisites.info"/>
|
---|
| 135 | <oneOrMore>
|
---|
| 136 | <ref name="db.all.blocks"/>
|
---|
| 137 | </oneOrMore>
|
---|
| 138 | </element>
|
---|
| 139 | </define>
|
---|
| 140 | </div>
|
---|
| 141 | <!-- ====================================================================== -->
|
---|
| 142 | <div>
|
---|
| 143 | <db:refname>taskrelated</db:refname>
|
---|
| 144 | <db:refpurpose>Information related to a task</db:refpurpose>
|
---|
| 145 | <define name="db.taskrelated.role.attribute">
|
---|
| 146 | <attribute name="role"/>
|
---|
| 147 | </define>
|
---|
| 148 | <define name="db.taskrelated.attlist">
|
---|
| 149 | <interleave>
|
---|
| 150 | <optional>
|
---|
| 151 | <ref name="db.taskrelated.role.attribute"/>
|
---|
| 152 | </optional>
|
---|
| 153 | <ref name="db.common.attributes"/>
|
---|
| 154 | <ref name="db.common.linking.attributes"/>
|
---|
| 155 | </interleave>
|
---|
| 156 | </define>
|
---|
| 157 | <define name="db.taskrelated.info">
|
---|
| 158 | <ref name="db._info.title.only"/>
|
---|
| 159 | </define>
|
---|
| 160 | <define name="db.taskrelated">
|
---|
| 161 | <element name="taskrelated">
|
---|
| 162 | <ref name="db.taskrelated.attlist"/>
|
---|
| 163 | <ref name="db.taskrelated.info"/>
|
---|
| 164 | <oneOrMore>
|
---|
| 165 | <ref name="db.all.blocks"/>
|
---|
| 166 | </oneOrMore>
|
---|
| 167 | </element>
|
---|
| 168 | </define>
|
---|
| 169 | </div>
|
---|
| 170 | </grammar>
|
---|