Re: DOCBOOK-APPS: Re: [xml] xsltproc and website.dtd



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]