On Sat, Feb 06, 2016 at 11:58:29PM +0000, Karl Berry wrote: > Evidently most web browsers aren't intended to be used as viewers for > XML files following arbitrary DTD's. > > Evidently. So I think the manual should say this, that the XML output > cannot be viewed directly in a browser, and is thus only intended for > further processing by other software. It's not an expected outcome from > my point of view. -k
But the manual says exactly this: XML (Generated via 'makeinfo --xml'.) XML is a generic syntax specification usable for any sort of content (a reference is at <http://www.w3.org/XML>). The 'makeinfo' XML output, unlike all the other output formats, is a transliteration of the Texinfo source rather than processed output. That is, it translates the Texinfo markup commands into XML syntax, for further processing by XML tools. The details of the output are defined in an XML DTD as usual, which is contained in a file 'texinfo.dtd' included in the Texinfo source distribution and available via the Texinfo web pages. The XML contains enough information to recreate the original content, except for syntactic constructs such as Texinfo macros and conditionals. The Texinfo source distribution includes a utility script 'txixml2texi' to do that backward transformation. -- Pat