| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- ============================================================= -->
- <!-- HEADER -->
- <!-- ============================================================= -->
- <!-- MODULE: DITA Programming Domain -->
- <!-- VERSION: 1.1 -->
- <!-- DATE: November 2006 -->
- <!-- -->
- <!-- ============================================================= -->
- <!-- ============================================================= -->
- <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
- <!-- -->
- <!-- PURPOSE: Define elements and specialization attributes -->
- <!-- for Programming Domain -->
- <!-- -->
- <!-- ORIGINAL CREATION DATE: -->
- <!-- March 2001 -->
- <!-- -->
- <!-- (C) Copyright OASIS-Open.org 2005., 2006 -->
- <!-- (C) Copyright IBM Corporation 2001, 2004. -->
- <!-- All Rights Reserved. -->
- <!-- ============================================================= -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <!-- ==================== Import Section ======================= -->
- <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.1"/>
- <xs:group name="pr-d-keyword">
- <xs:choice>
- <xs:element ref="option"/>
- <xs:element ref="parmname"/>
- <xs:element ref="apiname"/>
- </xs:choice >
- </xs:group >
- <xs:group name="pr-d-ph">
- <xs:choice>
- <xs:element ref="codeph" />
- <xs:element ref="synph" />
- </xs:choice>
- </xs:group>
- <xs:group name="pr-d-pre">
- <xs:choice>
- <xs:element ref="codeblock"/>
- </xs:choice >
- </xs:group >
- <xs:group name="pr-d-dl">
- <xs:choice>
- <xs:element ref="parml"/>
- </xs:choice >
- </xs:group >
- <xs:group name="pr-d-fig">
- <xs:choice>
- <xs:element ref="syntaxdiagram"/>
- </xs:choice >
- </xs:group >
-
- <xs:group name="syntaxdiagram">
- <xs:choice>
- <xs:element ref="syntaxdiagram"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="parml">
- <xs:choice>
- <xs:element ref="parml"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="codeblock">
- <xs:choice>
- <xs:element ref="codeblock"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="synph">
- <xs:choice>
- <xs:element ref="synph"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="codeph">
- <xs:choice>
- <xs:element ref="codeph"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="option">
- <xs:choice>
- <xs:element ref="option"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="parmname">
- <xs:choice>
- <xs:element ref="parmname"/>
- </xs:choice>
- </xs:group>
-
- <xs:group name="apiname">
- <xs:choice>
- <xs:element ref="apiname"/>
- </xs:choice>
- </xs:group>
-
- <xs:attributeGroup name="univ-atts-no-importance">
- <xs:attributeGroup ref="id-atts"/>
- <xs:attribute name="base" type="xs:string" />
- <xs:attributeGroup ref="base-attribute-extensions"/>
- <xs:attribute name="rev" type="xs:string"/>
- <xs:attribute name="status" type="status-atts.class"/>
- <xs:attributeGroup ref="localization-atts"/>
- <xs:attributeGroup ref="filter-atts"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="univ-atts-importance-nodefault">
- <xs:attributeGroup ref="id-atts"/>
- <xs:attribute name="platform" type="xs:string"/>
- <xs:attribute name="product" type="xs:string"/>
- <xs:attribute name="audience" type="xs:string"/>
- <xs:attribute name="otherprops" type="xs:string"/>
- <xs:attribute name="rev" type="xs:string"/>
- <xs:attribute name="importance" type="importance-att-nodefault.class"/>
- <xs:attribute name="translate" type="yesno-att.class"/>
- <xs:attribute ref="xml:lang"/>
- </xs:attributeGroup>
- <xs:simpleType name="importance-att-progdom.class">
- <xs:restriction base="importance-atts.class">
- <xs:enumeration value="optional"/>
- <xs:enumeration value="required"/>
- <xs:enumeration value="default"/>
- <xs:enumeration value="-dita-use-conref-target"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="importance-att-nodefault.class">
- <xs:restriction base="importance-atts.class">
- <xs:enumeration value="optional"/>
- <xs:enumeration value="required"/>
- <xs:enumeration value="-dita-use-conref-target"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="codeph">
- <xs:annotation>
- <xs:documentation>
- The code phrase (<<keyword>codeph</keyword>>) element represents a snippet
- of code within the main flow of text. The code phrase may be displayed in
- a monospaced font for emphasis. This element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="codeph.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/codeph "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="codeph.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="basic.ph.notm" />
- <xs:group ref="data.element.incl"/>
- <xs:group ref="foreign.unknown.incl"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="codeblock">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>codeblock</keyword>> element represents lines of
- program code. Like the <ph>
- <xref href="xref.xml"><<keyword>pre</keyword>></xref>
- </ph> element,
- content of this element has preserved line endings and is output in a monospaced
- font. This element is part of the DITA programming domain, a special set of
- DITA elements designed to document programming tasks, concepts and reference
- information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="codeblock.class">
- <xs:attribute ref="class" default="+ topic/pre pr-d/codeblock "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="codeblock.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="basic.ph.notm"/>
- <xs:group ref="txt.incl"/>
- <xs:group ref="data.element.incl"/>
- <xs:group ref="foreign.unknown.incl"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attribute name="spectitle" type="xs:string"/>
- <xs:attributeGroup ref="display-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- <xs:attribute ref="xml:space" fixed="preserve"/>
- <xs:attributeGroup ref="global-atts"/>
- </xs:complexType>
- <xs:element name="option">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>option</keyword>> element describes an option
- that can be used to modify a command (or something else, like a configuration).
- This element is part of the DITA programming domain, a special set of DITA
- elements designed to document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="option.class">
- <xs:attribute ref="class" default="+ topic/keyword pr-d/option "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="option.class" mixed="true">
- <xs:attribute name="keyref" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="var">
- <xs:annotation>
- <xs:documentation>
- Within a syntax definition, the <<keyword>var</keyword>> element
- defines a variable for which the user must supply content, such as their user
- name or password. It is represented in output in an italic font.
- This element is part of the DITA programming domain, a special set of DITA
- elements designed to document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="var.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/var "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="var.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="words.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- </xs:complexType>
- <xs:element name="parmname">
- <xs:annotation>
- <xs:documentation>
- When referencing the name of an application programming interface
- parameter within the text flow of your topic, use the parameter
- name (<<keyword>parmname</keyword>>) element to markup the parameter. This element
- is part of the DITA programming domain, a special set of DITA elements designed
- to document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="parmname.class">
- <xs:attribute ref="class" default="+ topic/keyword pr-d/parmname "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="parmname.class" mixed="true">
- <xs:attribute name="keyref" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="synph">
- <xs:annotation>
- <xs:documentation>
- The syntax phrase (<synph>) element is a container for syntax
- definition elements. It is used when a complete syntax definition is not needed,
- but some of the syntax elements, such as kwd, oper, delim, are used within
- the text flow of the topic content. This element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="synph.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/synph "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="synph.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <!-- ph -->
- <xs:element ref="codeph"/>
- <xs:element ref="var"/>
- <xs:element ref="oper"/>
- <xs:element ref="delim"/>
- <xs:element ref="sep"/>
- <xs:element ref="synph"/>
- <!-- keyword -->
- <xs:element ref="option"/>
- <xs:element ref="parmname"/>
- <xs:element ref="kwd"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="oper">
- <xs:annotation>
- <xs:documentation>
- The operator (<<keyword>oper</keyword>>) element defines an operator
- within a syntax definition. Typical operators are equals (=), plus (+) or
- multiply (*). This element is part of the DITA programming domain, a special
- set of DITA elements designed to document programming tasks, concepts and
- reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="oper.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/oper "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="oper.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="words.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- <xs:attributeGroup ref="global-atts"/>
- </xs:complexType>
- <xs:element name="delim">
- <xs:annotation>
- <xs:documentation>
- Within a syntax definition, the delimiter (<delim>) element defines
- a character marking the beginning or end of a section or part of the complete
- syntax. Typical delimiter characters are the parenthesis, comma, tab, vertical
- bar or other special characters. This element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="delim.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/delim "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="delim.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="words.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-nodefault.class"/>
- </xs:complexType>
- <xs:element name="sep">
- <xs:annotation>
- <xs:documentation>
- The separator (<sep>) element defines a separator character that
- is inline with the content of a syntax definition. The separator occurs between
- keywords, operators or groups in a syntax definition. This element is part
- of the DITA programming domain, a special set of DITA elements designed to
- document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="sep.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/sep "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="sep.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="words.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-nodefault.class"/>
- </xs:complexType>
- <xs:element name="apiname">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>apiname</keyword>> element provides the name of
- an application programming interface (API) such as a Java class name or method
- name. This element is part of the DITA programming domain, a special set of
- DITA elements designed to document programming tasks, concepts and reference
- information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="apiname.class">
- <xs:attribute ref="class" default="+ topic/keyword pr-d/apiname "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="apiname.class" mixed="true">
- <xs:attribute name="keyref" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="parml">
- <xs:annotation>
- <xs:documentation>
- The parameter list (<<keyword>parml</keyword>>) element contains a list of
- terms and definitions that describes the parameters in an application programming
- interface. This is a special kind of definition list that is
- designed for computer parameters. This element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="parml.class">
- <xs:attribute ref="class" default="+ topic/dl pr-d/parml "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="parml.class">
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="plentry" />
- </xs:choice>
- <xs:attribute name="spectitle" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- <xs:attribute name="compact" type="yesno-att.class"/>
- </xs:complexType>
- <xs:element name="plentry">
- <xs:annotation>
- <xs:documentation>
- The parameter list entry element (<plentry>) contains one or more parameter terms and definitions (pd and pt).
- This element is part of the DITA programming domain, a special set of DITA elements designed to document
- programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="plentry.class">
- <xs:attribute ref="class" default="+ topic/dlentry pr-d/plentry "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="plentry.class">
- <xs:sequence>
- <xs:element ref="pt" maxOccurs="unbounded"/>
- <xs:element ref="pd" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="pt">
- <xs:annotation>
- <xs:documentation>
- A parameter term, within a parameter list entry, is enclosed by the <<keyword>pt</keyword>> element.
- This element is part of the DITA programming domain, a special set of DITA elements designed to document
- programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="pt.class">
- <xs:attribute ref="class" default="+ topic/dt pr-d/pt "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="pt.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="term.cnt"/>
- </xs:choice>
- <xs:attribute name="keyref" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="pd">
- <xs:annotation>
- <xs:documentation>
- A parameter definition, within a parameter list entry, is enclosed by the <<keyword>pd</keyword>> element.
- This element is part of the DITA programming domain, a special set of DITA elements designed to document
- programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="pd.class">
- <xs:attribute ref="class" default="+ topic/dd pr-d/pd "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="pd.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="defn.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <!-- Base form: Syntax Diagram -->
- <xs:element name="syntaxdiagram">
- <xs:annotation>
- <xs:documentation>
- The syntax diagram (<<keyword>syntaxdiagram</keyword>>) element
- is the main container for all the syntax elements that make up a syntax definition.
- The syntax diagram represents the syntax of a statement from a computer language,
- or a command, function call or programming language statement. Traditionally,
- the syntax diagram is formatted with <q>railroad tracks</q> that
- connect the units of the syntax together, but this presentation may differ
- depending on the output media. The syntax diagram element is part of the DITA
- programming domain, a special set of DITA elements designed to document programming
- tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="syntaxdiagram.class">
- <xs:attribute ref="class" default="+ topic/fig pr-d/syntaxdiagram "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="syntaxdiagram.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0" maxOccurs="1"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- <xs:element ref="fragment"/>
- <xs:element ref="synblk"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- <xs:attributeGroup ref="display-atts"/>
- </xs:complexType>
- <xs:group name="syntaxdiagram.grp">
- <xs:choice>
- <xs:element ref="groupseq"/>
- <xs:element ref="groupchoice"/>
- <xs:element ref="groupcomp"/>
- <xs:element ref="fragref"/>
- <xs:element ref="synnote"/>
- <xs:element ref="synnoteref"/>
- </xs:choice>
- </xs:group>
- <xs:group name="syntaxdiagramprog.grp">
- <xs:choice>
- <xs:element ref="kwd"/>
- <xs:element ref="var"/>
- <xs:element ref="delim"/>
- <xs:element ref="oper"/>
- <xs:element ref="sep"/>
- </xs:choice>
- </xs:group>
- <xs:element name="synblk">
- <xs:annotation>
- <xs:documentation>
- The syntax block (<<keyword>synblk</keyword>>) element
- organizes small pieces of a syntax definition into a larger piece. The syntax
- block element is part of the DITA programming domain, a special set of DITA
- elements designed to document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="synblk.class">
- <xs:attribute ref="class" default="+ topic/figgroup pr-d/synblk "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="synblk.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- <xs:element ref="fragment"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="groupseq">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>groupseq</keyword>> element is part of the subset
- of elements that define syntax diagrams in DITA. A group is a logical set
- of pieces of syntax that go together. Within the syntax definition, groups
- of keywords, delimiters and other syntax units act as a combined unit, and
- they occur in a specific sequence, as delimited by the <<keyword>groupseq</keyword>>
- element. This element is part of the DITA programming domain, a special set
- of DITA elements designed to document programming tasks, concepts and reference
- information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="groupseq.class">
- <xs:attribute ref="class" default="+ topic/figgroup pr-d/groupseq "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="groupseq.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0"/>
- <xs:element ref="repsep" minOccurs="0"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- <xs:group ref="syntaxdiagramprog.grp"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- </xs:complexType>
- <xs:element name="groupchoice">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>groupchoice</keyword>> element is part
- of the subset of elements that define syntax diagrams in DITA. A group is
- a logical set of pieces of syntax that go together. A group choice specifies
- that the user must make a choice about which part of the syntax to use. Groups
- are often nested. This element is part of the DITA programming domain, a special
- set of DITA elements designed to document programming tasks, concepts and
- reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="groupchoice.class">
- <xs:attribute ref="class" default="+ topic/figgroup pr-d/groupchoice "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="groupchoice.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0"/>
- <xs:element ref="repsep" minOccurs="0"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- <xs:group ref="syntaxdiagramprog.grp"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- </xs:complexType>
- <xs:element name="groupcomp">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>groupcomp</keyword>> element is part
- of the subset of elements that define syntax diagrams in DITA. A group is
- a logical set of pieces of syntax that go together. The group composite means
- that the items that make up the syntax diagram will be formatted close together
- rather than being separated by a horizontal or vertical line, which is the
- usual formatting method. This element is part of the DITA programming domain,
- a special set of DITA elements designed to document programming tasks, concepts
- and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="groupcomp.class">
- <xs:attribute ref="class" default="+ topic/figgroup pr-d/groupcomp "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="groupcomp.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0"/>
- <xs:element ref="repsep" minOccurs="0"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- <xs:group ref="syntaxdiagramprog.grp"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- </xs:complexType>
- <xs:element name="fragment">
- <xs:annotation>
- <xs:documentation>
- Within a syntax definition, a <<keyword>fragment</keyword>> is
- a labeled subpart of the syntax. The <<keyword>fragment</keyword>> element
- allows breaking out logical chunks of a large syntax diagram
- into named fragments. This element is part of the DITA programming domain,
- a special set of DITA elements designed to document programming tasks, concepts
- and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="fragment.class">
- <xs:attribute ref="class" default="+ topic/figgroup pr-d/fragment "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="fragment.class">
- <xs:sequence>
- <xs:element ref="title" minOccurs="0"/>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="syntaxdiagram.grp"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="fragref">
- <xs:annotation>
- <xs:documentation>
- The fragment reference (<<keyword>fragref</keyword>>) element provides a
- logical reference to a syntax definition fragment so that you can reference
- a syntax fragment multiple times. This element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="fragref.class">
- <xs:attribute ref="class" default="+ topic/xref pr-d/fragref "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="fragref.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="xrefph.cnt"/>
- </xs:choice>
- <xs:attribute name="href" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-nodefault.class"/>
- </xs:complexType>
- <xs:element name="synnote">
- <xs:annotation>
- <xs:documentation>
- The syntax note (<<keyword>synnote</keyword>>) element
- contains a note (similar to a footnote) within a syntax definition group or
- fragment. The syntax note explains aspects of the syntax that cannot be expressed
- in the markup itself. The note will appear at the bottom of the syntax diagram
- instead of at the bottom of the page. The syntax block element is part of
- the DITA programming domain, a special set of DITA elements designed to document
- programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="synnote.class">
- <xs:attribute ref="class" default="+ topic/fn pr-d/synnote "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="synnote.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="basic.ph"/>
- </xs:choice>
- <xs:attribute name="callout" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="synnoteref">
- <xs:annotation>
- <xs:documentation>
- The syntax note (<<keyword>synnoteref</keyword>>) reference element references
- a syntax note element (<<keyword>synnote</keyword>>) that has already been defined
- elsewhere in the topic. The same notation can be used in more than one syntax
- definition. The syntax note reference element is part of the DITA programming
- domain, a special set of DITA elements designed to document programming tasks,
- concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="synnoteref.class">
- <xs:attribute ref="class" default="+ topic/xref pr-d/synnoteref "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="synnoteref.class">
- <xs:attribute name="href" type="xs:string" />
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts"/>
- </xs:complexType>
- <xs:element name="repsep">
- <xs:annotation>
- <xs:documentation>
- The repeat separator (<<keyword>repsep</keyword>>) element defines
- a group of syntax elements that can (or should) be repeated. If the <<keyword>repsep</keyword>>
- element contains a separator character, such as a plus (+), this
- indicates that the character must be used between repetitions of the syntax
- elements. This element is part of the DITA programming domain, a special set
- of DITA elements designed to document programming tasks, concepts and reference
- information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="repsep.class">
- <xs:attribute ref="class" default="+ topic/ph pr-d/repsep "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="repsep.class" mixed="true">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:group ref="words.cnt"/>
- </xs:choice>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-nodefault.class"/>
- </xs:complexType>
- <xs:element name="kwd">
- <xs:annotation>
- <xs:documentation>
- The <<keyword>kwd</keyword>> element defines a keyword in a syntax
- definition. A keyword must be typed or output, either by the user or application,
- exactly as specified in the syntax definition. This element is
- part of the DITA programming domain, a special set of DITA elements designed
- to document programming tasks, concepts and reference information.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType mixed="true">
- <xs:complexContent>
- <xs:extension base="kwd.class">
- <xs:attribute ref="class" default="+ topic/keyword pr-d/kwd "/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="kwd.class" mixed="true">
- <xs:attribute name="keyref" type="xs:string"/>
- <xs:attribute name="outputclass" type="xs:string"/>
- <xs:attributeGroup ref="global-atts"/>
- <xs:attributeGroup ref="univ-atts-no-importance"/>
- <xs:attribute name="importance" type="importance-att-progdom.class"/>
- </xs:complexType>
- </xs:schema>
|