Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v17/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd
, 2011 [Explore]
evolution-sequence
, document-transformation
, add-figure
, add-section
, add-subsection
, append
, combine
, change-role
, drop
, extract-subsection
, import-grammar
, import-sample
, insert
, place
, retitle
, remove-section
, transform-document
, transform-grammar
, relative
, sectionRole
), 17 root (evolution-sequence
, add-figure
, add-section
, add-subsection
, append
, combine
, change-role
, drop
, extract-subsection
, import-grammar
, import-sample
, insert
, place
, retitle
, remove-section
, transform-document
, transform-grammar
), 0 top (—), 11 bottom (simpleText
3, informative
, topSection
, generated
, transformation
, normative
, frontList
, simpleTextElement
2, simpleFigure
, structuredSection
2, lexicalSection
).[figure]
, [to]
6, [placeholder]
, [core]
, [annex]
, [where]
, [content]
3, [section]
4, [with]
, [scope]
, [from]
4, [title]
2, [id]
5, [role]
, [target]
3, [file]
3, [prettyprinter]
, [inside]
, [context]
, [before]
, [after]
, [frontMatter]
, [backMatter]
, [synopsis]
, [description]
, [syntax]
, [constraints]
, [relationship]
, [semantics]
, [default]
, [rationale]
, [example]
, [update]
.evolution-sequence ::=
document-transformation
document-transformation ::= add-figure add-section add-subsection append change-role combine drop extract-subsection insert import-grammar import-sample place retitle remove-section transform-document transform-grammar
add-figure ::= [figure]::simpleFigure [to]::string
add-section ::= frontList lexicalSection [placeholder]::generated [core]::structuredSection [annex]::structuredSection
add-subsection ::= topSectionnormative informative [to]::string
append ::= [where]::string [content]::simpleText
combine ::= [section]::string [with]::string
change-role ::= [scope]::string [from]::sectionRole [to]::sectionRole
drop ::= [section]::string
extract-subsection ::= [from]::string [content]::simpleText [title]::string [id]::string [to]::string[role]::sectionRole
import-grammar ::= [target]::string [file]::string
import-sample ::=
[target]::string [file]::string [prettyprinter]::string
insert ::= relative [content]::simpleText
place ::= [section]::string [inside]::string
retitle ::= [from]::[id]::string [title]::string [to]::string
remove-section ::=
[id]::string [from]::string
transform-document ::= [file]::string
transform-grammar ::= [target]::string transformation[context]::string
relative ::= [before]::[id]::string simpleTextElement [after]:: [id]::string simpleTextElement [to]::string
sectionRole ::= [frontMatter]::ε [backMatter]::ε [synopsis]::ε [description]::ε [syntax]::ε [constraints]::ε [relationship]::ε [semantics]::ε [default]::ε [rationale]::ε [example]::ε [update]::ε [section]::ε