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