4 # Author: David Goodger <goodger@python.org>
5 # Copyright: This module has been placed in the public domain.
8 A minimal front end to the Docutils Publisher, producing Docutils XML.
13 locale
.setlocale(locale
.LC_ALL
, '')
17 from docutils
.core
import publish_cmdline
, default_description
20 description
= ('Generates Docutils-native XML from standalone '
21 'reStructuredText sources. ' + default_description
)
23 publish_cmdline(writer_name
='xml', description
=description
)