Browsable XLDF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v18/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd, 2011 [Explore]

Summary

Syntax

evolutionSequence ::=
	documentTransformation*
documentTransformation ::=
	addFigure
	addSection
	addSubsection
	append
	changeRole
	combine
	drop
	extractSubsection
	hyperlinkify
	insert
	importGrammar
	importSample
	place
	retitle
	removeSection
	transformDocument
	transformGrammar
addFigure ::=
	[figure]::simpleFigure [to]::string
addSection ::=
	frontList
	lexicalSection
	[placeholder]::generated
	[core]::structuredSection
	[annex]::structuredSection
addSubsection ::=
	topSection
	(normative | informative) [to]::string
append ::=
	[where]::string [content]::simpleText
combine ::=
	[section]::string [with]::string
changeRole ::=
	[scope]::string [from]::sectionRole [to]::sectionRole
drop ::=
	[section]::string
extractSubsection ::=
	[from]::string [content]::simpleText [title]::string [id]::string [to]::string? [role]::sectionRole?
hyperlinkify ::=
	[goal]::string [uri]::string
importGrammar ::=
	[target]::string [file]::string
importSample ::=
	[target]::string [file]::string [prettyprinter]::string?
insert ::=
	relative [content]::simpleText
place ::=
	[section]::string [inside]::string
retitle ::=
	[from]::([id]::string | [title]::string) [to]::string
removeSection ::=
	[id]::string [from]::string?
transformDocument ::=
	[file]::string
transformGrammar ::=
	[target]::string transformation+ [context]::string*
relative ::=
	[before]::([id]::string | simpleTextElement)
	[after]::([id]::string | simpleTextElement)
	[to]::string
sectionRole ::=
	[frontMatter]::ε
	[backMatter]::ε
	[synopsis]::ε
	[description]::ε
	[syntax]::ε
	[constraints]::ε
	[relationship]::ε
	[semantics]::ε
	[default]::ε
	[rationale]::ε
	[example]::ε
	[update]::ε
	[section]::ε

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []