Browsable XLDF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v15/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
	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
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+ [context]::string*
relative ::=
	[before]::([id]::string | simpleTextElement)
	[after]::([id]::string | simpleTextElement)
	[to]::string

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