[Doc-SIG] Re: Output writers and XSLT
David Goodger
goodger@users.sourceforge.net
Wed, 24 Oct 2001 23:49:14 -0400
Paul Moore wrote:
> we can *already* get XML
> out of reStructuredText. Given that, can we not use XSLT to generate
> whatever output formats we need?
Sure can. Remi Bertholet, Paul Wright, and Alan Jaffray already have. See
the reStructuredText sandbox for their .xsl style sheets.
> Is that a viable general approach?
Maybe. Depends what you mean by "viable general".
> Does Python include XSLT processing modules? In the PyXML package, maybe?
In PyXML, yes, I believe so. But not in the standard library yet. Which
rules it out as a general solution for now. Eventually, I want the
"docutils" (umbrella package including DPS or a renaming of DPS) to be part
of the standard library, so it can't use stuff from outside. If PyXML were
to be included in the stdlib, though...
--
David Goodger goodger@users.sourceforge.net Open-source projects:
- Python Docstring Processing System: http://docstring.sourceforge.net
- reStructuredText: http://structuredtext.sourceforge.net
- The Go Tools Project: http://gotools.sourceforge.net