This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]