From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,15267b2c375b45c2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-22 16:14:14 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Ada Component Registry proposal Date: Wed, 22 Oct 2003 23:14:14 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3F92BEAA.9030004@comcast.net> <3F95FB78.4090305@comcast.net> <74tlb.11045$Fc5.2012@nwrdny01.gnilink.net> <3F96B6F9.3040302@comcast.net> Reply-To: bauhaus@futureapps.de (Georg Bauhaus) NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1066864454 1073 134.91.1.34 (22 Oct 2003 23:14:14 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 22 Oct 2003 23:14:14 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:1476 Date: 2003-10-22T23:14:14+00:00 List-Id: Robert I. Eachus wrote: : Of course, for now all I plan is an XML to HTML converter : that will allow the entire registry to be viewed as pure HTML. Uhm, I think there are some choices, I hope I'm not just stating the obvious: a/ use an XSLT. a1/ use that directly in the browser, via a processing instruction a2/ run it once, result is "static" HTML. b/ use CSS 2 with XML, current browsers can display XML content with the help of CSSs (however, CSS 2 does not allow one to make element selections etc) c/ combine them Are you thinking of a2, using some DTD for the registry documents? I've set up a dummy text using DocBook (not because I think it is well suited, but because everything is readily available, including XSL transformations.) Its structure and content do not reflect the registry except making stupid references to the context, for the sake of an example. It shows that (a1) does not yet work too well; (a1) does work to some extent if you have the XSLT in local files, at least with Mozilla. With no fancy style; the "data content" is in test.xml, http://home.arcor.de/bauhaus/tmp.Ada/test.html (a2) http://home.arcor.de/bauhaus/tmp.Ada/test.pdf (a2', PDF, same procedure) http://home.arcor.de/bauhaus/tmp.Ada/test.xml (original XML file) http://home.arcor.de/bauhaus/tmp.Ada/test-local.xml (local XSLT, type="text/xsl", not type="application/xslt+xml") Done using DocBook XSL stylesheets 1.62.4, a copy of the HTML part is referenced in the processing instruction in test.xml. Georg