Re: [docbook-apps] using XIncludes

From
John L. Clark <>
Date
2005-02-23T03:56:50+00:00
ID
Thread
Re: [docbook-apps] using XIncludes
On Wed, Feb 23, 2005 at 02:25:54PM +1100, Jens Porup wrote:
> When I try to validate the doc with:
> 
>     xmllint --noout --noent --xinclude --postvalid tech_spec.xml
> 
> It validates--there are no errors.
> 
> But when I xsltproc for both html and doc, I get the errors:
> 
>         (HTML) No template matches xi:include in book.
> 
>         (PDF) xi:include encountered in book, but no template matches.

Are you using the `--xinclude` argument to `xsltproc`, as well?  It
would look like:

  $ xsltproc --xinclude path_or_URI_to_stylesheet.xsl tech_spec.xml

Take care,

    John L. Clark