|
From: Ali A. <ali...@au...> - 2000-12-04 19:05:42
|
* Bob Stayton (bo...@sc...) wrote at 16:38 on 04/12/00: > > From: Gregory Leblanc <GLe...@cu...> > > > > > From: Ali Abdin [mailto:ali...@au...] > > > > > > Cocoon looks like an amazing project actually ;) But are > > > there some DocBook > > > XSL's out there? (for DocBook -> HTML conversion) ? > > > > Yep, they're available from Norm Walsh, at the same place as the DSSSL > > stylesheets. Hmm, URL... Try http://www.nwalsh.com/docbook/xsl/index.html > > I've used Norm's XSL stylesheets in Cocoon, and > it is currently too slow to be acceptable for a > web server. His stylesheets are very big and take > a considerable time to load. In general, processing > XML with XSL on the fly is not quick. Cocoon relies > on caching to give decent performance, but a document has > to have been cached. Browsers processing XML with XSL will > have to work hard to not appear sluggish. > > I think the performance of XSL processing will improve > within six to twelve months. If I were setting up a server > today, though, I would preprocess all my XML docs into HTML > files to be served. Cron jobs or time stamps would have to > be used to keep the HTML current. This would be similar to > man pages being nroffed into cat files to improve > performance when Unix machines used to be slower. Yeah, I asked Daniel Veillard about this. Note: Cocoon is in Java as far as I know and we all know about Java performance on Linux (I'm hoping a C implementation would show up so we can compare/benchmark it). Daniel recommended for me to parse XML using DOM (until XSLT performance improves). I wonder how the performance would be if soembody used a "stripped down" version of Norm Walsh's XSL stylesheet (I assume he supports a huge subset of tags (all of DocBook?) while the GNOME project only uses ~120 tags). Regards, Ali |