From: David Goodger <goodger@py...> - 2006-07-10 14:05:38
On 7/10/06, Chris Haynes <chaynes@...> wrote:
> docutils.core.publish_string output begins with
> <document source="<string>">
> but <> are not allowed in attribute values.
It depends on the output format. It looks like you are getting
pseudo-XML, the default, which is *not* XML, just a convenient
shorthand for testing. If you want XML output, you have to pass
``writer_name="xml"``; for HTML output, pass ``writer_name="html"``.
> PS I'm new to docutils, and loving it!
Glad to hear it!
David Goodger <http://python.net/~goodger>