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