Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v18/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd
, 2011 [Explore]
evolutionSequence
, documentTransformation
, addFigure
, addSection
, addSubsection
, append
, combine
, changeRole
, drop
, extractSubsection
, hyperlinkify
, importGrammar
, importSample
, insert
, place
, retitle
, removeSection
, transformDocument
, transformGrammar
, relative
, sectionRole
), 18 root (evolutionSequence
, addFigure
, addSection
, addSubsection
, append
, combine
, changeRole
, drop
, extractSubsection
, hyperlinkify
, importGrammar
, importSample
, insert
, place
, retitle
, removeSection
, transformDocument
, transformGrammar
), 0 top (—), 11 bottom (simpleText
3, simpleFigure
, generated
, transformation
, normative
, frontList
, lexicalSection
, simpleTextElement
2, informative
, structuredSection
2, topSection
).[figure]
, [to]
6, [placeholder]
, [core]
, [annex]
, [where]
, [content]
3, [section]
4, [with]
, [scope]
, [from]
4, [title]
2, [id]
5, [role]
, [goal]
, [uri]
, [target]
3, [file]
3, [prettyprinter]
, [inside]
, [context]
, [before]
, [after]
, [frontMatter]
, [backMatter]
, [synopsis]
, [description]
, [syntax]
, [constraints]
, [relationship]
, [semantics]
, [default]
, [rationale]
, [example]
, [update]
.evolutionSequence ::=
documentTransformation
documentTransformation ::= addFigure addSection addSubsection append changeRole combine drop extractSubsection hyperlinkify insert importGrammar importSample place retitle removeSection transformDocument transformGrammar
addFigure ::= [figure]::simpleFigure [to]::string
addSection ::= frontList lexicalSection [placeholder]::generated [core]::structuredSection [annex]::structuredSection
addSubsection ::= topSectionnormative informative [to]::string
append ::= [where]::string [content]::simpleText
combine ::= [section]::string [with]::string
changeRole ::= [scope]::string [from]::sectionRole [to]::sectionRole
drop ::= [section]::string
extractSubsection ::= [from]::string [content]::simpleText [title]::string [id]::string [to]::string[role]::sectionRole
hyperlinkify ::= [goal]::string [uri]::string
importGrammar ::= [target]::string [file]::string
importSample ::=
[target]::string [file]::string [prettyprinter]::string
insert ::= relative [content]::simpleText
place ::= [section]::string [inside]::string
retitle ::= [from]::[id]::string [title]::string [to]::string
removeSection ::=
[id]::string [from]::string
transformDocument ::= [file]::string
transformGrammar ::= [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]::ε