Previous: Texinfo, Up: Publishing Styles


9.11 Publish entries to XML

Muse is capable of publishing XML documents, with the help of the muse-xml.el module.

A RelaxNG schema is available as part of the Muse distribution in the etc/muse.rnc file.

Styles provided

xml
Publish a file in XML form.

Options provided

muse-xml-encoding-map
An alist mapping Emacs coding systems to appropriate XML charsets. Use the base name of the coding system (i.e. without the -unix).
muse-xml-markup-specials
A table of characters which must be represented specially in all XML-like markup formats.
muse-xml-markup-specials-url-extra
A table of characters which must be represented specially in all XML-like markup formats.

These are extra characters that are escaped within URLs.

muse-xml-extension
Default file extension used for publishing XML files.
muse-xml-header
Header used for publishing XML files.

This may be text or a filename.

muse-xml-footer
Footer used for publishing XML files.

This may be text or a filename.

muse-xml-markup-regexps
List of markup rules for publishing a Muse page to XML.

For more on the structure of this list, See muse-publish-markup-regexps.

muse-xml-markup-functions
An alist of style types to custom functions for that kind of text.

For more on the structure of this list, See muse-publish-markup-functions.

muse-xml-markup-strings
Strings used for marking up text.

These cover the most basic kinds of markup, the handling of which differs little between the various styles.

muse-xml-encoding-default
The default Emacs buffer encoding to use in published files.

This will be used if no special characters are found.

muse-xml-charset-default
The default XML charset to use if no translation is found in muse-xml-encoding-map.