David Goodger wrote:
> On Tue, Dec 23, 2008 at 21:49, Ringo Chan <rchan@...> wrote:
>> I love docutils , such as useful and handly application.
>> But I am new to python, I am having a problem outputing the 'xml' format
>> Can someone provided some code fragment and give me some direction ? I
>> am really appreciate for that.
> There is a front-end tool specifically for XML: rst2xml.py. Just use
> it from the command line.
Thanks for your prompt response. If I call from the code directly.
output = docutils.core.publish_string(writer='xml')
is this doing the same thing as the front end tool.