Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 83536 invoked from network); 4 Jun 2000 10:05:28 -0000 Received: from pop.systemy.it (194.20.140.28) by locus.apache.org with SMTP; 4 Jun 2000 10:05:28 -0000 Received: from apache.org (pv20-pri.systemy.it [194.21.255.20]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id MAA21586; Sun, 4 Jun 2000 12:05:26 +0200 Message-ID: <393A26C3.807EB2D0@apache.org> Date: Sun, 04 Jun 2000 11:52:03 +0200 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en,it MIME-Version: 1.0 To: cocoon-dev@xml.apache.org CC: Norman Walsh Subject: Re: Offer to help on Cocoon documentation References: <3937FA5C.349A13D7@pwr.ch> <393842D9.815ADE71@apache.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hans Ulrich Niedermann wrote: > > Stefano Mazzocchi writes: > > [ reasons why to use DocBook for docs ] > > > 3) we have HTML and FO stylesheets (Norman's) > > Norm's stylesheet are designed to handle every case you can think of, > so they are quite complex. The Docbook DTD is not that simple as well > and has to be parsed for default attribute values. So the XSLT takes > some time (and memory). > > Last time I tried to use Norm's XSL HTML stylesheets, cocoon took > about 20 seconds (and 20MB) for a HTML page to be delivered - a "book" > containing little more thana title, a dummy preface comprising 10 > words and a chapter containing 3 dummy FAQs with answers. (Docbk XML > 3.1.something, Apache 1.3.12, JServ 1.1, Cocoon 1.7.4, K6-2 300MHz, > 128MB) > > So it appears you either have to use offline generation, heavy caching > or heavy machines for DocBook. Good points. What about using SimplifiedDocBook for out documents and then transform them into GeneralDocBook for printing? Something like simpledocbook -> HTML simpledobbook -> generaldocbook -(*)-> fo -> pdf Why? Simply because the arrow with the star it's a pain in the ass to write!!! Typesettings are not an easy job and should not be reinvented every other day. Norman, any thought? > I tried official Docbook XML 4.0 and Norm's newer XSL stylesheets > about a week ago - but Xerces/Xalan didn't want to parse > something (stopped somewhere in Line fourthousandsomething). I can't > remember just now. I can test it again within the next few days - if > none of you is faster. We should help where we can there. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com ---------------------