[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xinclude problem with docbook under eclipse
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 elmuerte@drunksnipers.com http://elmuerte.com BibTeX to Docbook 5 http://sf.net/projects/bib2db5 xslthl 2.x http://sf.net/projects/xslthl
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]