RE: [docbook-apps] XInclude in sitemap problem

2008-08-16 Thread Mauritz Jeanson
 -Original Message-
 From: [EMAIL PROTECTED] 
 
 I'm using Xalan-2.7.0 with Xerces-2.7.1 and docbook-xsl-1.73.2.

[...]

 Is there any way to force the docbook stylesheets not to use 
 named entities for the target db?
 Are there any other tricks?


With Xalan, you can use the xalan:entities extension attribute on the
xsl:output element. To completely disable output of entity references,
create an empty file and let the attribute value point to that file:

xsl:output encoding=UTF-8
xalan:entities=somefile/

See http://xml.apache.org/xalan-j/usagepatterns.html#outputprops.

/MJ



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [docbook-apps] screen keep-together

2008-08-16 Thread Mauritz Jeanson
 -Original Message-
 From: Samuel Wright 
 
 Is there a keep-together for the screen element, similar to tables,
 figures, etc?


You can add keep-together.within-column=always to the
monospace.verbatim.properties attribute-set. 

See http://www.sagehill.net/docbookxsl/ProgramListings.html and 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/monospace.verbatim
.properties.html.

The attribute-set applies to literallayout, programlisting, screen, and
synopsis. Use xsl:choose if you want the customization to apply to screen
only:

xsl:attribute-set name=monospace.verbatim.properties
 xsl:attribute name=keep-together.within-column
   xsl:choose
 xsl:when test=self::screenalways/xsl:when
 xsl:otherwiseauto/xsl:otherwise
   /xsl:choose
 /xsl:attribute
/xsl:attribute-set

/MJ



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]