
Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: doc/ldf/v19.0-xsd/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LDF, shared/xsd/ldf.xsd, 2008–2011, Version 36 [Explore]
document, document-metainfo, body, status, previous, part, part-metainfo, part-role, section, composite-section, placeholder, simple-section, simple-section-metainfo, simple-section-role, lexical-section, lexical-section-metainfo, lexical-section-role, list-section, list-section-metainfo, list-section-role, term, structured-section, structured-section-metainfo, structured-section-element, element-role, normative-role, informative-role, textual-content, text-element, figure, figure-metainfo, figure-source, figure-type, table, table-row, list, mixed-type, formula, keyword, code, link, math, mfenced, mtext, msub, msup, mrow, mi, mo, varepsilon, anyMath), 14 root (document, formula, keyword, code, link, math, mfenced, mtext, msub, msup, mrow, mi, mo, varepsilon), 0 top (—), 1 bottom (production).[document-metainfo], [part], [body], [number], [author] 6, [topic], [status], [version] 2, [edition] 2, [previous], [date], [ansi], [ecma], [ieee], [iso], [iso/iet], [itu], [iec], [ietf], [oasis], [omg], [wsa], [w3c], [unknown], [draft], [candidate], [proposed], [approved], [revised], [obsolete], [withdrawn], [collection], [trial], [errata], [report], [title] 6, [uri] 2, [part-metainfo], [part-role], [id] 6, [front-matter], [core-part], [back-matter], [annex], [placeholder] 2, [simple-section] 2, [lexical-section], [structured-section], [composite-section], [list-section], [index], [full-grammar], [list-of-tables], [list-of-authors], [list-of-contents], [list-of-references], [simple-section-metainfo], [simple-section-content], [simple-section-role], [abstract], [conformance], [compatibility], [design-goals], [document-structure], [foreword], [normative-references] 2, [notation], [scope], [what-is-new], [lexical-section-metainfo], [lexical-section-content], [lexical-section-role], [lexical-issue], [line-continuations], [literals], [preprocessor], [tokens], [whitespace], [list-section-metainfo], [term], [list-section-content], [list-section-role], [abbreviations], [definitions], [language-overview], [name], [definition], [structured-section-metainfo], [structured-section-content], [subtopic], [references], [key], [data], [value], [normative], [informative], [specific-section], [synopsis], [description], [syntax], [constraints], [relationship], [semantics], [default], [example], [rationale], [update], [empty], [code], [text] 2, [figure], [table], [list], [math], [mfenced], [mtext], [msub], [msup], [mrow], [mi], [mo], [varepsilon], [formula], [source], [sample], [figure-metainfo], [figure-source], [short-caption], [caption], [type], [local-file], [PDF], [PostScript], [SVG], [PNG], [GIF], [JPEG], [header], [row], [table-cell], [item], [reference], [external].document ::=
[document-metainfo]::document-metainfo [part]::partdocument-metainfo ::= [body]::body [number]::string[author]::string [topic]::string [status]::status [version]::string[edition]::string [previous]::previous [date]::string
body ::= [ansi]::ε [ecma]::ε [ieee]::ε [iso]::ε [iso/iet]::ε [itu]::ε [iec]::ε [ietf]::ε [oasis]::ε [omg]::ε [wsa]::ε [w3c]::ε
status ::= [unknown]::ε [draft]::ε [candidate]::ε [proposed]::ε [approved]::ε [revised]::ε [obsolete]::ε [withdrawn]::ε [collection]::ε [trial]::ε [errata]::ε [report]::ε
previous ::= [title]::string [version]::string[edition]::string [uri]::string
part ::=
[part-metainfo]::part-metainfo sectionpart-metainfo ::= [part-role]::part-role [title]::string [author]::string [id]::string
part-role ::= [front-matter]::ε [core-part]::ε [back-matter]::ε [annex]::ε
section ::= [placeholder]::placeholder [simple-section]::simple-section [lexical-section]::lexical-section [structured-section]::structured-section [composite-section]::composite-section [list-section]::list-section
composite-section ::=
sectionplaceholder ::= [index]::ε [full-grammar]::ε [list-of-tables]::ε [list-of-authors]::ε [list-of-contents]::ε [list-of-references]::ε
simple-section ::= [simple-section-metainfo]::simple-section-metainfo [simple-section-content]::textual-content
simple-section-metainfo ::= [simple-section-role]::simple-section-role [title]::string [author]::string [id]::string
simple-section-role ::= [abstract]::ε [conformance]::ε [compatibility]::ε [design-goals]::ε [document-structure]::ε [foreword]::ε [normative-references]::ε [notation]::ε [scope]::ε [what-is-new]::ε
lexical-section ::= [lexical-section-metainfo]::lexical-section-metainfo [lexical-section-content]::textual-content
lexical-section-metainfo ::= [lexical-section-role]::lexical-section-role [title]::string [author]::string [id]::string
lexical-section-role ::= [lexical-issue]::ε [line-continuations]::ε [literals]::ε [preprocessor]::ε [tokens]::ε [whitespace]::ε
list-section ::=
[list-section-metainfo]::list-section-metainfo [list-section-content]::[term]::termlist-section-metainfo ::= [list-section-role]::list-section-role [title]::string [author]::string [id]::string
list-section-role ::= [abbreviations]::ε [definitions]::ε [language-overview]::ε [normative-references]::ε
term ::= [name]::string [definition]::textual-content
structured-section ::=
[structured-section-metainfo]::structured-section-metainfo [structured-section-content]::structured-section-elementstructured-section-metainfo ::= [title]::string [author]::string [id]::string
structured-section-element ::= [subtopic]::structured-section [references]::list [placeholder]::placeholder [value]::[key]::string [data]::string element-role [simple-section]::simple-section
element-role ::= [normative]::normative-role [informative]::informative-role [specific-section]::simple-section
normative-role ::= [synopsis]::ε [description]::ε [syntax]::ε [constraints]::ε [relationship]::ε [semantics]::ε [default]::ε
informative-role ::= [example]::ε [rationale]::ε [update]::ε
textual-content ::=
text-elementtext-element ::= [empty]::ε [code]::string [text]::mixed-type [figure]::figure [table]::table [list]::list [formula]::[math]::anyMath[mfenced]::anyMath[mtext]::anyMath[msub]::anyMath[msup]::anyMath[mrow]::anyMath[mi]::anyMath[mo]::anyMath[varepsilon]::α [sample]::αstring [source]::string production
figure ::=
[figure-metainfo]::figure-metainfo [figure-source]::figure-sourcefigure-metainfo ::= [short-caption]::string [caption]::string [id]::string
figure-source ::= [type]::figure-type [local-file]::string[uri]::string
figure-type ::= [PDF]::ε [PostScript]::ε [SVG]::ε [PNG]::ε [GIF]::ε [JPEG]::ε
table ::= [header]::table-row [row]::table-row
table-row ::=
[table-cell]::textual-contentlist ::=
[item]::mixed-typemixed-type ::= αstring
formula ::=
αkeyword ::= string
code ::= string
link ::= [text]::string [reference]::string[external]::string
math ::= anyMath
mfenced ::= anyMath
mtext ::= anyMath
msub ::= anyMath
msup ::= anyMath
mrow ::= anyMath
mi ::= anyMath
mo ::= anyMath
varepsilon ::= ε
anyMath ::= αstring