X-Original-To: pgsql-docs-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id A01919FB210 for ; Sat, 15 Jul 2006 20:59:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 93750-09 for ; Sat, 15 Jul 2006 23:59:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from projects.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id B80E69FA60B for ; Sat, 15 Jul 2006 20:59:11 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by projects.commandprompt.com (8.13.6/8.13.6) with ESMTP id k6FNxAXC011486; Sat, 15 Jul 2006 16:59:11 -0700 Message-ID: <44B98152.70001@commandprompt.com> Date: Sat, 15 Jul 2006 16:59:14 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: Peter Eisentraut CC: pgsql-docs@postgresql.org Subject: Re: DocBook/XML summary References: <200607160115.51824.peter_e@gmx.net> In-Reply-To: <200607160115.51824.peter_e@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (projects.commandprompt.com [192.168.2.159]); Sat, 15 Jul 2006 16:59:11 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/10 X-Sequence-Number: 3600 > Possible advantages of using XML: > > - Future DocBook development will be XML-only (or at least XML-mainly), > so in the (very) long run we will have to switch anyway because the > tools aren't there anymore. Well sgml tools is probably a long way from dying as you note with (very) ;) > > - XML editing tools are more widely available. (Totally unconfirmed > assumption; I'm happy with what I have.) Most XML tools I have ran into also support SGML. > > - Translation tools may work better with XML sources. (Totally > unconfirmed; would need to be in actual use by someone.) > Do you mean language translation or transformation (as in pdf?). > - Could use MathML, SVG, and other extensions (but I don't think they > actually work yet). SVG is really nice. I don't know much about MathML. > > - When XML support is available in PostgreSQL, you can import the > documentation and do wild things. ;-) Actually that could be fairly interesting from a \h point of view from psql. > > Possible disadvantages of using XML: > > - Marked sections don't work anymore; would need to use DocBook-specific > profiling mechanism, which isn't all that elegant. > I don't know what is meant by this. > - More typing: Things like foo and other abbreviations won't > work anymore; all attributes would need to be quoted, etc. > That is true, but we also get better interoperability, like going from xml->doc > - doc/src/sgml/*.sgml will look silly for filenames. > Well that is an easy fix with a one line shell script and some sed within the docs ;) > - Someone would need to do the conversion. I understand that the French > translation team might have patches available. This is actually fairly easy to do. We did it with our book in half a day. The postgresql docs are about 2 times the size of our book IIRC. > > So that is it. In my mind, there is no clear winner, but if someone has > a concrete need for XML, I don't see a problem with it. > The one thing that I am still unaware of is a good print quality output for Docbook XML. Now to be honest I haven't checked in some time but one of our primary goals *needs* to be to efficiently convert to PDF. Sincerely, Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/