RE: [docbook-apps] XInclude in sitemap problem

From
Mauritz Jeanson <>
Date
2008-08-16T15:09:20+00:00
ID
000001c8ffb2$0b8ab380$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] XInclude in sitemap problem
> -----Original Message-----
> From:  
> 
> 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