Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v08/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
, remove-section
, add-section
, add-subsection
, place
, rename
, append
, import-grammar
, import-sample
), 10 root (sequence
, insert
, remove-section
, add-section
, add-subsection
, place
, rename
, append
, import-grammar
, import-sample
), 0 top (—), 8 bottom (SimpleText
2, informative
, normative
, SimpleTextElement
2, StructuredSection
, front-simple-section
, front-list
, LexicalSection
).[id]
4, [before]
, [after]
, [to]
3, [content]
2, [from]
2, [core]
, [section]
, [inside]
, [title]
, [where]
, [target]
2, [file]
2, [prettyprinter]
.sequence ::=
transformation
transformation ::= insert import-grammar import-sample place rename append remove-section add-section add-subsection
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
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