Re: Docutils XML namespace?
engelbert gruber <[email protected]> Tue, 31 Mar 2020 18:11:09 +0200
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAHnbgBM64ZdP0qLEMg+w8CD8_ykZ41NGBHXbaiuUgMokhS1WMA@mail.gmail.com> |
dont know (yet hopefully) but what is wrong with tools/rst2xml.py ? On Tue, 31 Mar 2020 at 17:04, Mikhail Edoshin <[email protected]> wrote: > Hi Engelbert, > > I know docutils has a DTD for its XML. Does it have an official XML > namespace? > > Context: I'm working with a tool that parses reST files into XML for use > in XML workflow. With all-XML workflow it's convenient to use a > dedicated namespace for reST, especially if it's reST with custom > extensions that may provide their own namespace. (E.g. one of such > extensions is going to be a generic '.. object:: XML' that embeds > literal foreign XML into reST.) I handle the conversion to XML myself > and right now I use a private namespace for reST elements. As I'm about > to publish the tool I wonder if there's an official reST namespace I > should be using instead. The tool is in its infancy and I can always > change things later, so it's not urgent. > > Kind regards, > Mikhail > > > _______________________________________________ > Docutils-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/docutils-users > > Please use "Reply All" to reply to the list. >