Browsable XLDF Grammar

CC-BY

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

Summary

Syntax

sequence ::=
	transformation*
transformation ::=
	insert
	import-grammar
	import-sample
	drop
	place
	combine
	rename
	append
	remove-section
	add-figure
	add-section
	add-subsection
	transform-grammar
	transform-document
transform-document ::=
	[file]::string
transform-grammar ::=
	[target]::string transformation+
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-section
	(normative | informative) [to]::string
add-figure ::=
	[figure]::SimpleFigure [to]::string
place ::=
	[section]::string [inside]::string
combine ::=
	[section]::string [with]::string
drop ::=
	[section]::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?

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