Subject: Re: CVS commit: htdocs
To: Jim Wise <jwise@draga.com>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: www-changes
Date: 07/24/2000 06:22:29
On Mon, 24 Jul 2000, Jim Wise wrote:
> >> Regen (several version updates, and script now generates XHTML 1.0)
> >How do you verify that? (o)nsgmls?
> 
> In principal, by serving it via cocoon (pkgsrc/www/cocoon), which has a
> very nice server framework for XSLT transformations (XML->HTML,
> XML->PDF, XML->WAP/WML, XML->anything, really), and a neat architecture
> for dynamic XML generation / transformation.

I haven't used cocoon yet, it sounds like it does all the conversions via
interactive requests and on the fly? Do you know of tools to do the named
conversions for batch operations, e.g. Makefile based?

Also, have you tried something else then (X)HTML, e.g. DocBook->HTML/PDF?

So far Federico and I have focussed on plain SGML->HTML/PS/PDF, but if
there are usable alternatives, it would be nice to know about them.
Unfortunately, I'm sort of a newbie to SGML/XML. :>
I wonder if there's a good reason to use XML/DocBook over SGML/DocBook?


> I haven't really done anything XML-ish with the 3dparty script, mind
> you, but I've been doing a lot of work in cocoon, so I'm trying to
> standardize on XHTML for the output of various cgis and so forth that I
> maintain.  Mostly, of course, this means downcasing tag names, being
> conservative about attribute formatting, and marking empty tags (img,
> hr, br, etc) with a trailing " /" in the tag, as XML (unlike SGML) does
> not autodetect or implicitly close tags which have no end tag, unless
> they are so marked...

OK, if there's nothing else that shouldn't be too difficult, esp. when
it's known in advance. :)


 - Hubert

-- 
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!