Browsable XLDF Grammar

CC-BY

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

Summary

Syntax

evolution-sequence ::=
	document-transformation*
document-transformation ::=
	add-figure
	add-section
	add-subsection
	append
	change-role
	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 ::=
	frontList
	lexicalSection
	[placeholder]::generated
	[core]::structuredSection
	[annex]::structuredSection
add-subsection ::=
	frontSection
	(normative | informative) [to]::string
append ::=
	[where]::string [content]::simpleText
combine ::=
	[section]::string [with]::string
change-role ::=
	[scope]::string [from]::sectionRole [to]::sectionRole
drop ::=
	[section]::string
extract-subsection ::=
	[from]::string [content]::simpleText [title]::string [id]::string [to]::string? [role]::sectionRole?
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+ [context]::string*
relative ::=
	[before]::([id]::string | simpleTextElement)
	[after]::([id]::string | simpleTextElement)
	[to]::string
sectionRole ::=
	[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. []