Extensible modular markup/Other modules

From Wikiversity
Jump to navigation Jump to search

These are the rest of EMM modules, except of XHTML2-compatible modules:

XInclude Module[edit]

See Wikipedia.

Comment Module[edit]

Namespace: http://portonvictor.org/ns/comment

Tags c:comment of this namespace are simply removed from the XML.

Syntax highlighting Module[edit]

Namespace: http://portonvictor.org/ns/syntax

Example of usage:

<pre syntax:format="JavaScript">function() { return 123 }</pre>

Table of Contents Module[edit]

This module allows to generate a table of contents automatically.

Namespace: http://portonvictor.org/ns/EMM/toc

The table is inserted at <toc:toc/> element.

Currently in XML Boiler it works only for documents where sections namespace is used for structuring the document.