This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: [xml] xsltproc and website.dtd
- From: Bob Stayton <bobs at caldera dot com>
- To: Vitaly Ostanin <vyt at vzljot dot ru>, xml at gnome dot org
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 20 Nov 2002 09:47:10 -0800
- Subject: Re: DOCBOOK-APPS: Re: [xml] xsltproc and website.dtd
- References: <3DDB5B38.4030807@snafu.de> <20021120174812.777b9fdd.vyt@vzljot.ru>
On Wed, Nov 20, 2002 at 05:48:12PM +0300, Vitaly Ostanin wrote:
> On Wed, 20 Nov 2002 10:51:52 +0100
> "Fischer, Oliver" <plexus@snafu.de> wrote:
>
> > Hello,
> >
> > I spumbled across a problem with Norman Welshes website.dtd and
> > its xsl style sheets. Those style sheets uses a non-standard
> > (?) function exists(), which isn't supported by xsltproc, but
> > by xalan and saxon.
>
> IMHO, using non-standart java functions with standart XML and
> XSLT is not good.
>
> > Is there a way to use xsltproc and to avoid the switch to java?
>
> Yes, you can simple modify website stylesheets and use
> xsltproc, but you get update for all pages on each build.
>
> Example of customization is attached.
There is also the alternate build process for website
using Make rather than pure XSLT. That should avoid
the use of the exists() extension function. See:
http://docbook.sourceforge.net/release/website/example/buildmake.html
The example uses xsltproc.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com