← Prev in month ← Prev in thread

DOCBOOK-APPS: Trying to quite down the XSL stylesheets

From
Jochen Hein <>
Date
2002-02-14T12:25:04+00:00
ID
Thread
DOCBOOK-APPS: Trying to quite down the XSL stylesheets
The stylesheets write something like

Writing anhang-vi.html for appendix(anhang-vi)

for every chunk.  That clutters the display and my hide other more
serious messages.  chunker.xsl contains:

<xsl:template name="write.chunk">
  <xsl:param name="filename" select="''"/>
  <xsl:param name="method" select="$output.method"/>
  <xsl:param name="encoding" select="$default.encoding"/>
  <xsl:param name="indent" select="'no'"/>
  <xsl:param name="content" select="''"/>
  <xsl:param name="quiet" select="0"/>

  <xsl:if test="$quiet = 0">
    <xsl:message>

But both quiet=0 as a saxon parameter and 
  <xsl:param name="quiet">1</xsl:param>
in my stylesheet driver don't change the situation.  Do I miss
something?  

Another thought:  How about using the conventoin for issuing error or
warning messages in the stylesheets:
"filename:lineno:E message" or similar.  Might be useful to Emacs
users.  

Another idea, is it desireable to have a switch "warn if elements are
used that will be removed in the next docbook release"?  Might save me
from using <graphic> ;-)

Jochen

-- 
#include <~/.signature>: permission denied
← Prev in month ← Prev in thread