[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problem with XInclude
Larry Garfield wrote: > So after solving my last embarrassing problem, I've another that will probably > be just as embarrassing. > > My source files contain a large number of XInclude statements for > organization. Again, the last time I was working on this project they were > all functional. However, when I run the build script I now get the following > error on each XInclude statement: > > Element include in namespace 'http://www.w3.org/2003/XInclude' encountered in > part, but no template matches. <target name="xinclude" depends="init"> <echo>Expand Xincludes </echo> <exec executable="/usr/bin/xmllint" failonerror='true'> <arg value="-o"/> <arg value="tmp.xml"/> <arg value="--xinclude"/> <arg value="${main.infile}"/> </exec> </target> My sequence is: 1. Expand xincludes (above) 2. Validate the included file (jing) 3. Transform. Each has a stop on fail option set HTH regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]