Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v11/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd
, 2011 [Explore]
sequence
, transformation
, transform-document
, transform-grammar
, insert
, remove-section
, add-section
, add-subsection
, place
, combine
, drop
, rename
, append
, import-grammar
, import-sample
), 14 root (sequence
, transform-document
, transform-grammar
, insert
, remove-section
, add-section
, add-subsection
, place
, combine
, drop
, rename
, append
, import-grammar
, import-sample
), 0 top (—), 8 bottom (SimpleText
2, informative
, normative
, SimpleTextElement
2, StructuredSection
, front-simple-section
, front-list
, LexicalSection
).[file]
3, [target]
3, [id]
4, [before]
, [after]
, [to]
3, [content]
2, [from]
2, [core]
, [section]
3, [inside]
, [with]
, [title]
, [where]
, [prettyprinter]
.sequence ::=
transformation
transformation ::= insert import-grammar import-sample drop place combine rename append remove-section add-section add-subsection transform-grammar transform-document
transform-document ::= [file]::string
transform-grammar ::= [target]::string transformation
insert ::=[before]:: [id]::string SimpleTextElement [after]:: [id]::string SimpleTextElement [to]::string [content]::SimpleText
remove-section ::=
[id]::string [from]::string
add-section ::= front-list LexicalSection [core]::StructuredSection
add-subsection ::= front-simple-sectionnormative informative [to]::string
place ::= [section]::string [inside]::string
combine ::= [section]::string [with]::string
drop ::= [section]::string
rename ::= [from]::[id]::string [title]::string [to]::string
append ::= [where]::string [content]::SimpleText
import-grammar ::= [target]::string [file]::string
import-sample ::=
[target]::string [file]::string [prettyprinter]::string