Hi,
The xinclude contained in the Webhelp sample does not work unless you
include Xerces in the Ant xslt task. The xinlcude is ignored with a "Element
include in namespace 'http://www.w3.org/2001/XInclude' encountered in book,
but no template matches." message:
chunk:
[mkdir] Created dir: C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs
[xslt] Processing C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docsrc\readme.xml to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null172184698
[xslt] Loading stylesheet C:\Program Files
(x86)\docbook-xsl-1.77.0\profiling\profile.xsl
[xslt] Processing C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null172184698 to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null734982840
[xslt] Loading stylesheet C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\xsl\webhelp.xsl
[xslt] language: en
[xslt] Writing docs/content/ch01.html for chapter
[xslt] Writing docs/content/ch02s01.html for section
[xslt] Writing docs/content/ch02s02.html for section
[xslt] Writing docs/content/ch02s03.html for section
[xslt] Writing docs/content/ch02s04.html for section
[xslt] Writing docs/content/ch02s05.html for section
[xslt] Writing docs/content/ch02.html for chapter
[xslt] Writing docs/content/ch03s01.html for section
[xslt] Writing docs/content/ch03s02.html for section
[xslt] Writing docs/content/ch03.html for chapter
[xslt] Writing docs/content/ch04.html for chapter
[xslt] Element include in namespace 'http://www.w3.org/2001/XInclude'
encountered in book, but no template matches.
[xslt] Writing docs/content/index.html for book
[xslt] Writing docs/index.html
[xslt] Writing docs/content/search/l10n.js
[copy] Copying 92 files to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs
[copy] Copying 1 file to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\content
Including the Xerces JAR in the xslt call as follows gets it working:
<xslt
in="${input-xml}"
out="${xincluded-profiled.xml}"
style="../profiling/profile.xsl" classpath="${xercesImpl.jar}">
I'm not sure why the Xerces JAR needs to be declared explicitly in this case
as the xinclude works if the sample is built using xsltproc from the command
line (in Ubuntu). I'm using Java 1.6.0_31.
Rgds, Dermot
--
View this message in context:
http://old.nabble.com/Missing-Xerces-Classpath-definition-in-DocBook-XSL-1.77.0-Webhelp-Sample-tp33933003p33933003.html
Sent from the docbook apps mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]