LDF transformations Sequential composition of multiple transformations. XLDF transformation suite does not include any sophisticated grammar manipulations, in that sense it complements XBGF rather than extends it. All grammar transformations are supposed to be be handled by XBGF either prior to language document transformations or as a part of them. Adds a figure to the designated section or subsection. Completes the language document with a top-level section. The target is unspecified because it is possible for the transformation engine to decide it automatically (i.e., lexical sections go to the lexical part, core sections to the core, etc). Adds an inner section to the document. All front matter sections go automatically to the front matter, otherwise a target needs to be specified. Adds more content to the existing section or subsection. Reorganises all the content from one section or subsection to be merged with another section or subsection. Changes the role of a section (i.e., syntax section can become description). If there is no section of the same role in scope, the original section becomes one. If there was already a section with the same role in scope, the new section is appended to it instead. Excludes one top level section from the language document. Cuts out a part of an existing inner section and promotes it to a separate inner section. If the target context is not specified, the new section becomes a subsection of the place it has been extracted from. Turns a document part referenced by an XPath expression into a hyperlink. Includes a piece of grammar taken from an external BGF file. Includes a sample taken from an external file. It is possible to specify a pretty-printer that will be fed that file and the output will be included. For instance, in the XBGF document the samples were originally in XBGF, but were pretty-printed with an external universal pretty-printer to get the nice EBNF-ish look (otherwise the reader would be overwhelmed with XML listings). There were two different pretty-printers: one for the \TeX\ version inlined in the thesis, and one for browsable HTML version available as \cite{XBGFManual}. This is one of the transformations that has no corresponding command in XBGF, since grammars do not have order of elements (in fact, any concrete grammar notation does, but it does not matter) and language documents do (and do care about it a lot). This transformation inserts new content right before or after another piece of content that is looked up by the XLDF engine at the run-time. Makes one section to become a subsection of another section. The target section must be of a type that supports subsections. Changes the title of a section or a subsection. It is still possible to designate the target for this transformation with an ID, but a more friendly and user-expected way of designating it with its current title is also possible: that way by looking at a transformation one can immediately tell what was the title before and what will it be (and possibly deduct the reason for this change). Excludes one subsection from a specified section. Modularisation support: we allow to put an evolution sequence in a separate file to be called from a place in another file. This is an interface between XLDF and XBGF: all the grammar productions are gathered from the target section and its subsections, to be fed into a transformation (or a chain of transformations). If the XBGF engine evaluates successfully, the result of that transformation is returned to the target section. It is also possible to specify a number of context section --- all productions from them will be gathered, too, but since they are not subject to change, they will not be confused with the result.