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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to