Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v03/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd
, 2011 [Explore]
sequence
, transformation
, insert
, add-section
, move
, rename
, append
, scope
), 6 root (sequence
, insert
, add-section
, move
, rename
, append
), 1 top (scope
), 8 bottom (label
, StructuredSection
, nonterminal
, SimpleText
2, insideSimpleText
2, frontLists
, frontMatter
, lexical
).[before]
, [after]
, [content]
2, [front]
, [list]
, [lexical]
, [core]
, [section]
, [inside]
, [id]
, [title]
, [from]
, [to]
, [where]
, [label]
, [nonterminal]
.sequence ::=
transformation
transformation ::= insert move rename append add-section
insert ::=[before]::insideSimpleText [after]::insideSimpleText [content]::SimpleText
add-section ::= [front]::frontMatter [list]::frontLists [lexical]::lexical [core]::StructuredSection
move ::= [section]::string [inside]::string
rename ::= [from]::[id]::string [title]::string [to]::string
append ::= [where]::string [content]::SimpleText
scope ::= [label]::label [nonterminal]::nonterminal