Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v04/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
, import
, transform-grammar
, scope
), 8 root (sequence
, insert
, add-section
, move
, rename
, append
, import
, transform-grammar
), 1 top (scope
), 8 bottom (label
, StructuredSection
, nonterminal
, SimpleText
2, insideSimpleText
2, front-simple-section
, lexical
, front-list
).[before]
, [after]
, [content]
2, [core]
, [section]
, [inside]
, [id]
, [title]
, [from]
, [to]
, [where]
, [target]
, [file]
, [label]
, [nonterminal]
.sequence ::=
transformation
transformation ::= insert import move rename append add-section
insert ::=[before]::insideSimpleText [after]::insideSimpleText [content]::SimpleText
add-section ::= front-simple-section front-list lexical [core]::StructuredSection
move ::= [section]::string [inside]::string
rename ::= [from]::[id]::string [title]::string [to]::string
append ::= [where]::string [content]::SimpleText
import ::= [target]::string [file]::string
transform-grammar ::= transformation
scope ::= [label]::label [nonterminal]::nonterminal