dacarver | eb10690 | 2008-11-03 22:27:34 +0000 | [diff] [blame] | 1 | <!-- ============================================================= -->
|
| 2 | <!-- HEADER -->
|
| 3 | <!-- ============================================================= -->
|
| 4 | <!-- MODULE: DITA Task -->
|
| 5 | <!-- VERSION: 1.1 -->
|
| 6 | <!-- DATE: November 2006 -->
|
| 7 | <!-- -->
|
| 8 | <!-- ============================================================= -->
|
| 9 |
|
| 10 | <!-- ============================================================= -->
|
| 11 | <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
|
| 12 | <!-- TYPICAL INVOCATION -->
|
| 13 | <!-- -->
|
| 14 | <!-- Refer to this file by the following public identifier or an
|
| 15 | appropriate system identifier
|
| 16 | PUBLIC "-//OASIS//ELEMENTS DITA Task//EN"
|
| 17 | Delivered as file "task.mod" -->
|
| 18 |
|
| 19 | <!-- ============================================================= -->
|
| 20 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
| 21 | <!-- -->
|
| 22 | <!-- PURPOSE: Declaring the elements and specialization -->
|
| 23 | <!-- attributes for the DITA Tasks -->
|
| 24 | <!-- -->
|
| 25 | <!-- ORIGINAL CREATION DATE: -->
|
| 26 | <!-- March 2001 -->
|
| 27 | <!-- -->
|
| 28 | <!-- (C) Copyright OASIS Open 2005, 2006. -->
|
| 29 | <!-- (C) Copyright IBM Corporation 2001, 2004. -->
|
| 30 | <!-- All Rights Reserved. -->
|
| 31 | <!-- -->
|
| 32 | <!-- UPDATES: -->
|
| 33 | <!-- 2005.11.15 RDA: Removed old declaration for -->
|
| 34 | <!-- taskClasses entity -->
|
| 35 | <!-- 2005.11.15 RDA: Corrected LONG NAME for chdeschd -->
|
| 36 | <!-- 2006.06.06 RDA: Changed model of choice to listitem.cnt -->
|
| 37 | <!-- for completeness -->
|
| 38 | <!-- 2006.06.07 RDA: Added <abstract> element -->
|
| 39 | <!-- 2006.06.07 RDA: Make universal attributes universal -->
|
| 40 | <!-- (DITA 1.1 proposal #12) -->
|
| 41 | <!-- 2006.11.30 RDA: Add -dita-use-conref-target to enumerated -->
|
| 42 | <!-- attributes -->
|
| 43 | <!-- 2006.11.30 RDA: Remove #FIXED from DITAArchVersion -->
|
| 44 | <!-- ============================================================= -->
|
| 45 |
|
| 46 |
|
| 47 | <!-- ============================================================= -->
|
| 48 | <!-- ARCHITECTURE ENTITIES -->
|
| 49 | <!-- ============================================================= -->
|
| 50 |
|
| 51 | <!-- default namespace prefix for DITAArchVersion attribute can be
|
| 52 | overridden through predefinition in the document type shell -->
|
| 53 | <!ENTITY % DITAArchNSPrefix
|
| 54 | "ditaarch" >
|
| 55 |
|
| 56 | <!-- must be instanced on each topic type -->
|
| 57 | <!ENTITY % arch-atts "
|
| 58 | xmlns:%DITAArchNSPrefix;
|
| 59 | CDATA #FIXED
|
| 60 | 'http://dita.oasis-open.org/architecture/2005/'
|
| 61 | %DITAArchNSPrefix;:DITAArchVersion
|
| 62 | CDATA '1.1'" >
|
| 63 |
|
| 64 |
|
| 65 | <!-- ============================================================= -->
|
| 66 | <!-- SPECIALIZATION OF DECLARED ELEMENTS -->
|
| 67 | <!-- ============================================================= -->
|
| 68 |
|
| 69 |
|
| 70 | <!-- ============================================================= -->
|
| 71 | <!-- ELEMENT NAME ENTITIES -->
|
| 72 | <!-- ============================================================= -->
|
| 73 |
|
| 74 | <!ENTITY % task "task" >
|
| 75 | <!ENTITY % taskbody "taskbody" >
|
| 76 | <!ENTITY % steps "steps" >
|
| 77 | <!ENTITY % steps-unordered
|
| 78 | "steps-unordered" >
|
| 79 | <!ENTITY % step "step" >
|
| 80 | <!ENTITY % cmd "cmd" >
|
| 81 | <!ENTITY % substeps "substeps" >
|
| 82 | <!ENTITY % substep "substep" >
|
| 83 | <!ENTITY % tutorialinfo
|
| 84 | "tutorialinfo" >
|
| 85 | <!ENTITY % info "info" >
|
| 86 | <!ENTITY % stepxmp "stepxmp" >
|
| 87 | <!ENTITY % stepresult "stepresult" >
|
| 88 | <!ENTITY % choices "choices" >
|
| 89 | <!ENTITY % choice "choice" >
|
| 90 | <!ENTITY % result "result" >
|
| 91 | <!ENTITY % prereq "prereq" >
|
| 92 | <!ENTITY % postreq "postreq" >
|
| 93 | <!ENTITY % context "context" >
|
| 94 | <!ENTITY % choicetable "choicetable" >
|
| 95 | <!ENTITY % chhead "chhead" >
|
| 96 | <!ENTITY % chrow "chrow" >
|
| 97 | <!ENTITY % choptionhd "choptionhd" >
|
| 98 | <!ENTITY % chdeschd "chdeschd" >
|
| 99 | <!ENTITY % choption "choption" >
|
| 100 | <!ENTITY % chdesc "chdesc" >
|
| 101 |
|
| 102 |
|
| 103 | <!-- ============================================================= -->
|
| 104 | <!-- SHARED ATTRIBUTE LISTS -->
|
| 105 | <!-- ============================================================= -->
|
| 106 |
|
| 107 |
|
| 108 | <!-- Provide an alternative set of univ-atts
|
| 109 | that allows importance to be redefined
|
| 110 | locally -->
|
| 111 | <!ENTITY % univ-atts-no-importance-task
|
| 112 | '%id-atts;
|
| 113 | %filter-atts;
|
| 114 | base CDATA #IMPLIED
|
| 115 | %base-attribute-extensions;
|
| 116 | rev CDATA #IMPLIED
|
| 117 | status (new | changed | deleted |
|
| 118 | unchanged |
|
| 119 | -dita-use-conref-target) #IMPLIED
|
| 120 | %localization-atts; ' >
|
| 121 |
|
| 122 | <!ENTITY % task-info-types
|
| 123 | "%info-types;" >
|
| 124 |
|
| 125 |
|
| 126 | <!-- ============================================================= -->
|
| 127 | <!-- DOMAINS ATTRIBUTE OVERRIDE -->
|
| 128 | <!-- ============================================================= -->
|
| 129 |
|
| 130 |
|
| 131 | <!ENTITY included-domains "" >
|
| 132 |
|
| 133 |
|
| 134 | <!-- ============================================================= -->
|
| 135 | <!-- ELEMENT DECLARATIONS -->
|
| 136 | <!-- ============================================================= -->
|
| 137 |
|
| 138 |
|
| 139 | <!-- LONG NAME: Task -->
|
| 140 | <!ELEMENT task ((%title;), (%titlealts;)?,
|
| 141 | (%shortdesc; | %abstract;)?,
|
| 142 | (%prolog;)?, (%taskbody;)?,
|
| 143 | (%related-links;)?, (%task-info-types;)* ) >
|
| 144 | <!ATTLIST task
|
| 145 | id ID #REQUIRED
|
| 146 | conref CDATA #IMPLIED
|
| 147 | %select-atts;
|
| 148 | %localization-atts;
|
| 149 | %arch-atts;
|
| 150 | outputclass
|
| 151 | CDATA #IMPLIED
|
| 152 | domains CDATA "&included-domains;" >
|
| 153 |
|
| 154 |
|
| 155 | <!-- LONG NAME: Task Body -->
|
| 156 | <!ELEMENT taskbody ((%prereq;)?, (%context;)?,
|
| 157 | (%steps; | %steps-unordered;)?,
|
| 158 | (%result;)?, (%example;)?, (%postreq;)?) >
|
| 159 | <!ATTLIST taskbody
|
| 160 | %id-atts;
|
| 161 | %localization-atts;
|
| 162 | base CDATA #IMPLIED
|
| 163 | %base-attribute-extensions;
|
| 164 | outputclass
|
| 165 | CDATA #IMPLIED >
|
| 166 |
|
| 167 |
|
| 168 | <!-- LONG NAME: Prerequisites -->
|
| 169 | <!ELEMENT prereq (%section.notitle.cnt;)* >
|
| 170 | <!ATTLIST prereq
|
| 171 | %univ-atts;
|
| 172 | outputclass
|
| 173 | CDATA #IMPLIED >
|
| 174 |
|
| 175 |
|
| 176 | <!-- LONG NAME: Context -->
|
| 177 | <!ELEMENT context (%section.notitle.cnt;)* >
|
| 178 | <!ATTLIST context
|
| 179 | %univ-atts;
|
| 180 | outputclass
|
| 181 | CDATA #IMPLIED >
|
| 182 |
|
| 183 |
|
| 184 | <!-- LONG NAME: Steps -->
|
| 185 | <!ELEMENT steps ((%step;)+) >
|
| 186 | <!ATTLIST steps
|
| 187 | %univ-atts;
|
| 188 | outputclass
|
| 189 | CDATA #IMPLIED >
|
| 190 |
|
| 191 |
|
| 192 | <!-- LONG NAME: Steps: Unordered -->
|
| 193 | <!ELEMENT steps-unordered
|
| 194 | ((%step;)+) >
|
| 195 | <!ATTLIST steps-unordered
|
| 196 | %univ-atts;
|
| 197 | outputclass
|
| 198 | CDATA #IMPLIED >
|
| 199 |
|
| 200 |
|
| 201 | <!-- LONG NAME: Step -->
|
| 202 | <!ELEMENT step (%cmd;,
|
| 203 | (%info; |%substeps; | %tutorialinfo; |
|
| 204 | %stepxmp; | %choicetable; | %choices;)*,
|
| 205 | (%stepresult;)? ) >
|
| 206 | <!ATTLIST step
|
| 207 | importance (optional | required |
|
| 208 | -dita-use-conref-target) #IMPLIED
|
| 209 | %univ-atts-no-importance-task;
|
| 210 | outputclass
|
| 211 | CDATA #IMPLIED >
|
| 212 |
|
| 213 |
|
| 214 | <!--ATTLIST step
|
| 215 | importance (optional | required) #IMPLIED -->
|
| 216 |
|
| 217 |
|
| 218 | <!-- LONG NAME: Command -->
|
| 219 | <!ELEMENT cmd (%ph.cnt;)* >
|
| 220 | <!ATTLIST cmd
|
| 221 | keyref CDATA #IMPLIED
|
| 222 | %univ-atts;
|
| 223 | outputclass
|
| 224 | CDATA #IMPLIED >
|
| 225 |
|
| 226 |
|
| 227 | <!-- LONG NAME: Information -->
|
| 228 | <!ELEMENT info (%itemgroup.cnt;)* >
|
| 229 | <!ATTLIST info
|
| 230 | %univ-atts;
|
| 231 | outputclass
|
| 232 | CDATA #IMPLIED >
|
| 233 |
|
| 234 |
|
| 235 | <!-- LONG NAME: Sub-steps -->
|
| 236 | <!ELEMENT substeps (%substep;)+ >
|
| 237 | <!ATTLIST substeps
|
| 238 | %univ-atts;
|
| 239 | outputclass
|
| 240 | CDATA #IMPLIED >
|
| 241 |
|
| 242 |
|
| 243 | <!-- LONG NAME: Sub-step -->
|
| 244 | <!ELEMENT substep (%cmd;,
|
| 245 | (%info; | %tutorialinfo; | %stepxmp;)*,
|
| 246 | (%stepresult;)? ) >
|
| 247 | <!ATTLIST substep
|
| 248 | importance (optional | required |
|
| 249 | -dita-use-conref-target) #IMPLIED
|
| 250 | %univ-atts-no-importance-task;
|
| 251 | outputclass
|
| 252 | CDATA #IMPLIED >
|
| 253 |
|
| 254 |
|
| 255 | <!--ATTLIST substep
|
| 256 | importance
|
| 257 | (optional | required) #IMPLIED -->
|
| 258 |
|
| 259 |
|
| 260 | <!-- LONG NAME: Tutorial Information -->
|
| 261 | <!ELEMENT tutorialinfo (%itemgroup.cnt;)* >
|
| 262 | <!ATTLIST tutorialinfo
|
| 263 | %univ-atts;
|
| 264 | outputclass
|
| 265 | CDATA #IMPLIED >
|
| 266 |
|
| 267 |
|
| 268 | <!-- LONG NAME: Step Example -->
|
| 269 | <!ELEMENT stepxmp (%itemgroup.cnt;)* >
|
| 270 | <!ATTLIST stepxmp
|
| 271 | %univ-atts;
|
| 272 | outputclass
|
| 273 | CDATA #IMPLIED >
|
| 274 |
|
| 275 |
|
| 276 | <!-- LONG NAME: Choices -->
|
| 277 | <!ELEMENT choices ((%choice;)+) >
|
| 278 | <!ATTLIST choices
|
| 279 | %univ-atts;
|
| 280 | outputclass
|
| 281 | CDATA #IMPLIED >
|
| 282 |
|
| 283 |
|
| 284 | <!-- LONG NAME: Choice -->
|
| 285 | <!ELEMENT choice (%listitem.cnt;)* >
|
| 286 | <!ATTLIST choice
|
| 287 | %univ-atts;
|
| 288 | outputclass
|
| 289 | CDATA #IMPLIED >
|
| 290 |
|
| 291 |
|
| 292 | <!-- LONG NAME: Choice Table -->
|
| 293 | <!ELEMENT choicetable ((%chhead;)?, (%chrow;)+ ) >
|
| 294 | <!ATTLIST choicetable
|
| 295 | relcolwidth
|
| 296 | CDATA #IMPLIED
|
| 297 | keycol NMTOKEN "1"
|
| 298 | refcols NMTOKENS #IMPLIED
|
| 299 | spectitle CDATA #IMPLIED
|
| 300 | %display-atts;
|
| 301 | %univ-atts;
|
| 302 | outputclass
|
| 303 | CDATA #IMPLIED >
|
| 304 |
|
| 305 |
|
| 306 | <!-- LONG NAME: Choice Head -->
|
| 307 | <!ELEMENT chhead ((%choptionhd;), (%chdeschd;) ) >
|
| 308 | <!ATTLIST chhead
|
| 309 | %univ-atts;
|
| 310 | outputclass
|
| 311 | CDATA #IMPLIED >
|
| 312 |
|
| 313 |
|
| 314 | <!-- LONG NAME: Choice Option Head -->
|
| 315 | <!ELEMENT choptionhd (%tblcell.cnt;)* >
|
| 316 | <!ATTLIST choptionhd
|
| 317 | specentry CDATA #IMPLIED
|
| 318 | %univ-atts;
|
| 319 | outputclass
|
| 320 | CDATA #IMPLIED >
|
| 321 |
|
| 322 |
|
| 323 | <!-- LONG NAME: Choice Description Head -->
|
| 324 | <!ELEMENT chdeschd (%tblcell.cnt;)* >
|
| 325 | <!ATTLIST chdeschd
|
| 326 | specentry CDATA #IMPLIED
|
| 327 | %univ-atts;
|
| 328 | outputclass
|
| 329 | CDATA #IMPLIED >
|
| 330 |
|
| 331 |
|
| 332 | <!-- LONG NAME: Choice Row -->
|
| 333 | <!ELEMENT chrow ((%choption;), (%chdesc;) ) >
|
| 334 | <!ATTLIST chrow
|
| 335 | %univ-atts;
|
| 336 | outputclass
|
| 337 | CDATA #IMPLIED >
|
| 338 |
|
| 339 |
|
| 340 | <!-- LONG NAME: Choice Option -->
|
| 341 | <!ELEMENT choption (%tblcell.cnt;)*>
|
| 342 | <!ATTLIST choption
|
| 343 | specentry CDATA #IMPLIED
|
| 344 | %univ-atts;
|
| 345 | outputclass
|
| 346 | CDATA #IMPLIED >
|
| 347 |
|
| 348 |
|
| 349 | <!-- LONG NAME: Choice Description -->
|
| 350 | <!ELEMENT chdesc (%tblcell.cnt;)*>
|
| 351 | <!ATTLIST chdesc
|
| 352 | specentry CDATA #IMPLIED
|
| 353 | %univ-atts;
|
| 354 | outputclass
|
| 355 | CDATA #IMPLIED >
|
| 356 |
|
| 357 |
|
| 358 | <!-- LONG NAME: Step Result -->
|
| 359 | <!ELEMENT stepresult (%itemgroup.cnt;)* >
|
| 360 | <!ATTLIST stepresult
|
| 361 | %univ-atts;
|
| 362 | outputclass
|
| 363 | CDATA #IMPLIED >
|
| 364 |
|
| 365 |
|
| 366 | <!-- LONG NAME: Result -->
|
| 367 | <!ELEMENT result (%section.notitle.cnt;)* >
|
| 368 | <!ATTLIST result
|
| 369 | %univ-atts;
|
| 370 | outputclass
|
| 371 | CDATA #IMPLIED >
|
| 372 |
|
| 373 |
|
| 374 | <!-- LONG NAME: Post Requirements -->
|
| 375 | <!ELEMENT postreq (%section.notitle.cnt;)* >
|
| 376 | <!ATTLIST postreq
|
| 377 | %univ-atts;
|
| 378 | outputclass
|
| 379 | CDATA #IMPLIED >
|
| 380 |
|
| 381 |
|
| 382 | <!-- ============================================================= -->
|
| 383 | <!-- SPECIALIZATION ATTRIBUTE DECLARATIONS -->
|
| 384 | <!-- ============================================================= -->
|
| 385 |
|
| 386 |
|
| 387 | <!ATTLIST task %global-atts; class CDATA "- topic/topic task/task " >
|
| 388 | <!ATTLIST taskbody %global-atts; class CDATA "- topic/body task/taskbody " >
|
| 389 | <!ATTLIST steps %global-atts; class CDATA "- topic/ol task/steps " >
|
| 390 | <!ATTLIST steps-unordered
|
| 391 | %global-atts; class CDATA "- topic/ul task/steps-unordered ">
|
| 392 | <!ATTLIST step %global-atts; class CDATA "- topic/li task/step " >
|
| 393 | <!ATTLIST cmd %global-atts; class CDATA "- topic/ph task/cmd " >
|
| 394 | <!ATTLIST substeps %global-atts; class CDATA "- topic/ol task/substeps " >
|
| 395 | <!ATTLIST substep %global-atts; class CDATA "- topic/li task/substep " >
|
| 396 | <!ATTLIST tutorialinfo
|
| 397 | %global-atts; class CDATA "- topic/itemgroup task/tutorialinfo ">
|
| 398 | <!ATTLIST info %global-atts; class CDATA "- topic/itemgroup task/info " >
|
| 399 | <!ATTLIST stepxmp %global-atts; class CDATA "- topic/itemgroup task/stepxmp " >
|
| 400 | <!ATTLIST stepresult %global-atts; class CDATA "- topic/itemgroup task/stepresult ">
|
| 401 |
|
| 402 | <!ATTLIST choices %global-atts; class CDATA "- topic/ul task/choices " >
|
| 403 | <!ATTLIST choice %global-atts; class CDATA "- topic/li task/choice " >
|
| 404 | <!ATTLIST result %global-atts; class CDATA "- topic/section task/result " >
|
| 405 | <!ATTLIST prereq %global-atts; class CDATA "- topic/section task/prereq " >
|
| 406 | <!ATTLIST postreq %global-atts; class CDATA "- topic/section task/postreq " >
|
| 407 | <!ATTLIST context %global-atts; class CDATA "- topic/section task/context " >
|
| 408 |
|
| 409 | <!ATTLIST choicetable %global-atts; class CDATA "- topic/simpletable task/choicetable ">
|
| 410 | <!ATTLIST chhead %global-atts; class CDATA "- topic/sthead task/chhead " >
|
| 411 | <!ATTLIST chrow %global-atts; class CDATA "- topic/strow task/chrow " >
|
| 412 | <!ATTLIST choptionhd %global-atts; class CDATA "- topic/stentry task/choptionhd ">
|
| 413 | <!ATTLIST chdeschd %global-atts; class CDATA "- topic/stentry task/chdeschd " >
|
| 414 | <!ATTLIST choption %global-atts; class CDATA "- topic/stentry task/choption " >
|
| 415 | <!ATTLIST chdesc %global-atts; class CDATA "- topic/stentry task/chdesc " >
|
| 416 |
|
| 417 |
|
| 418 | <!-- ================== End DITA Task =========================== -->
|