Re: DOCBOOK-APPS: some parameters ignored in chunk.xsl

2002-05-07 Thread Bob Stayton

On Mon, May 06, 2002 at 01:33:16PM +0200, Camille Bignis wrote:
 Hello,
 
 With XSL 1.50.0, xsltproc, and the following customization:
 
 1) only index.html goes into html/ The rest is written in current directory

I think this is a bug in the make-relative-filename
template in chunker.xsl.  xsltproc uses exsl:document
and there is a comment there from Norm that says:

!-- EXSL document does make the chunks relative, I think --

But xsltproc doesn't, so the template should still add $base.dir.
It works if I change:
  xsl:value-of select=$base.name/
to:
  xsl:value-of select=concat($base.dir,$base.name)/

I'd change it in CVS except I don't know what exsl:document
should be doing and whether xsltproc conforms to it.


 2) chunk.quietly is ignored
 Is something missing?

No, my fault. I forgot to commit to CVS a change to chunk.xsl
after testing it.  I've checked it in now to
the html stylesheet.  It will get built into the
xhtml set on the next release.
 
 Also, I'm wondering what the using.chunker parameter is for??

Good question.  It seems to do very little for such
an important sounding name.  I wonder why the
chunk.xsl stylesheet doesn't just set it by default?


Bob Stayton 400 Encinal Street
Publications Architect  Santa Cruz, CA  95060
Technical Publications  voice: (831) 427-7796
Caldera International, Inc. fax:   (831) 429-1887
email: [EMAIL PROTECTED]



DOCBOOK-APPS: some parameters ignored in chunk.xsl

2002-05-06 Thread Camille Bégnis

Hello,

With XSL 1.50.0, xsltproc, and the following customization:

1) only index.html goes into html/ The rest is written in current directory
2) chunk.quietly is ignored

Is something missing?

Also, I'm wondering what the using.chunker parameter is for??

Camille.


-

?xml version='1.0'?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
 version='1.0'
 xmlns=http://www.w3.org/TR/xhtml1/transitional;
 exclude-result-prefixes=#default

   xsl:import 
href=/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl/

xsl:param name=base.dirhtml//xsl:param
xsl:param name=use.id.as.filename select='1'/
xsl:param name=chunk.quietly select='1'/

/xsl:stylesheet