| FlexDoc/XML XSDDoc Demo | XML Schemas for DITA 1.1

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

element <syntaxdiagram>

Namespace: | {no namespace}
Type: | anonymous complexType (extension of syntaxdiagram.class)
Content: | complex, 20 attributes, 9 elements
Defined: | globally in programmingDomain.xsd; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location

Component Diagram

XML Representation Summary
<syntaxdiagram
outputclass | = | xs:string
xtrc | = | xs:string
xtrf | = | xs:string
id | = | xs:NMTOKEN
conref | = | xs:string
props | = | xs:string
platform | = | xs:string
product | = | xs:string
audience | = | xs:string
otherprops | = | xs:string
base | = | xs:string
rev | = | xs:string
importance | = | ("obsolete" | "deprecated" | "optional" | "default" | "low" | "normal" | "high" | "recommended" | "required" | "urgent" | "-dita-use-conref-target")
status | = | ("new" | "changed" | "deleted" | "unchanged" | "-dita-use-conref-target")
translate | = | ("yes" | "no" | "-dita-use-conref-target")
xml:lang | = | xs:language
scale | = | ("50" | "60" | "70" | "80" | "90" | "100" | "110" | "120" | "140" | "160" | "180" | "200" | "-dita-use-conref-target")
frame | = | ("top" | "bottom" | "topbot" | "all" | "sides" | "none" | "-dita-use-conref-target")
expanse | = | ("page" | "column" | "textline" | "-dita-use-conref-target")
class | = | xs:string : "+ topic/fig pr-d/syntaxdiagram "
| >
Content: | title?, (groupseq | groupchoice | groupcomp | fragref | synnote | synnoteref | fragment | synblk)*
</syntaxdiagram>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
outputclass | xs:string |  | no | syntaxdiagram.class |
xtrc | xs:string |  | no | global-atts |
xtrf | xs:string |  | no | global-atts |
id | xs:NMTOKEN |  | no | id-atts |
conref | xs:string |  | no | id-atts |
props | xs:string |  | no | filter-atts |
platform | xs:string |  | no | filter-atts |
product | xs:string |  | no | filter-atts |
audience | xs:string |  | no | filter-atts |
otherprops | xs:string |  | no | filter-atts |
base | xs:string |  | no | select-atts |
rev | xs:string |  | no | select-atts |
importance | importance-atts.class : ("obsolete" | "deprecated" | "optional" | "default" | "low" | "normal" | "high" | "recommended" | "required" | "urgent" | "-dita-use-conref-target") |  | no | select-atts |
status | status-atts.class : ("new" | "changed" | "deleted" | "unchanged" | "-dita-use-conref-target") |  | no | select-atts |
translate | yesno-att.class : ("yes" | "no" | "-dita-use-conref-target") |  | no | univ-atts |
xml:lang | xs:language |  | no | univ-atts | In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . . .
scale | scale-atts.class : (50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 | 140 | 160 | 180 | 200 | "-dita-use-conref-target") |  | no | display-atts |
frame | frame-att.class : ("top" | "bottom" | "topbot" | "all" | "sides" | "none" | "-dita-use-conref-target") |  | no | display-atts |
expanse | expanse-att.class : ("page" | "column" | "textline" | "-dita-use-conref-target") |  | no | display-atts |
class | xs:string | "+ topic/fig pr-d/syntaxdiagram " | no | this | The class attribute supports specialization. »

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  | syntaxdiagram.class |
title | anonymous | 0..1 | no | syntaxdiagram.class | The <title> element contains a heading or label for the main parts of a document such as <topic>, <section>, and <example> and for the display elements such as figure (<fig>) and <table>.
CHOICE |  | 0..∞ |  | syntaxdiagram.class |
groupseq | anonymous | 1..1 | no | syntaxdiagram.grp | The <groupseq> element is part of the subset of elements that define syntax diagrams in DITA. »
groupchoice | anonymous | 1..1 | no | syntaxdiagram.grp | The <groupchoice> element is part of the subset of elements that define syntax diagrams in DITA. »
groupcomp | anonymous | 1..1 | no | syntaxdiagram.grp | The <groupcomp> element is part of the subset of elements that define syntax diagrams in DITA. »
fragref | anonymous | 1..1 | no | syntaxdiagram.grp | The fragment reference (<fragref>) element provides a logical reference to a syntax definition fragment so that you can reference a syntax fragment multiple times. »
synnote | anonymous | 1..1 | no | syntaxdiagram.grp | The syntax note (<synnote>) element contains a note (similar to a footnote) within a syntax definition group or fragment. »
synnoteref | anonymous | 1..1 | no | syntaxdiagram.grp | The syntax note (<synnoteref>) reference element references a syntax note element (<synnote>) that has already been defined elsewhere in the topic. »
fragment | anonymous | 1..1 | no | syntaxdiagram.class | Within a syntax definition, a <fragment> is a labeled subpart of the syntax. »
synblk | anonymous | 1..1 | no | syntaxdiagram.class | The syntax block (<synblk>) element organizes small pieces of a syntax definition into a larger piece. »

Description
The syntax diagram (<syntaxdiagram>) 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 railroad tracks 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.
Related Components

- Included in content model of elements (34):
  abstract, body, chdesc, chdeschd, choice, choption, choptionhd, conbody, context, dd, draft-comment, entry, example, fn, glossdef, info, itemgroup, li, lq, note, p, pd, postreq, prereq, propdeschd, proptypehd, propvaluehd, refsyn, result, section, stentry, stepresult, stepxmp, tutorialinfo

Referenced By

- In model groups (1):
  pr-d-fig [ref]

Anonymous Type Detail

Type Derivation Tree syntaxdiagram.class (extension) complexType

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.