On Thu, Aug 28, 2008 at 06:08:24AM -0700, Stephan Schröder wrote:
> 2) main problem: the include doesn't work, instead of the file
> "<xi:include></xi:include> "
> is included. I get this warning:
> "[xslt] ...\docbook-xsl-1.74.0\html\docbook.xsl:89:16: Warning! Element
> include in namespace 'http://www.w3.org/2001/XInclude' encountered in book,
> but no template matches."
You have to enable XInclude processing for the XML parser. If you use
ant 1.7 (and a more recent JRE which includes the javascript engine) you
can easily enable that using the following task before using the xslt
task:
<script language="javascript">
<![CDATA[
importClass(java.lang.System);
System.setProperty("org.apache.xerces.xni.parser.XMLParserConfiguration",
"org.apache.xerces.parsers.XIncludeParserConfiguration");
]]>
</script>
--
Michiel "elmuerte" Hendriks [EMAIL PROTECTED]
http://elmuerte.com
BibTeX to Docbook 5 http://sf.net/projects/bib2db5
xslthl 2.x http://sf.net/projects/xslthl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]