atom feed15 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] using XIncludes
FromSent OnAttachments
Jens PorupFeb 17, 2005 9:26 pm 
Bob StaytonFeb 18, 2005 10:44 am 
Jens PorupFeb 22, 2005 7:25 pm 
John L. ClarkFeb 22, 2005 7:56 pm.pgp
Jens PorupFeb 22, 2005 8:09 pm 
John L. ClarkFeb 22, 2005 8:39 pm.pgp
Jens PorupFeb 22, 2005 8:42 pm 
Jens PorupFeb 22, 2005 9:08 pm 
Bob StaytonFeb 22, 2005 11:27 pm 
Jens PorupFeb 23, 2005 5:49 pm 
Bob StaytonFeb 23, 2005 6:12 pm 
Jens PorupFeb 23, 2005 10:01 pm 
Bob StaytonFeb 23, 2005 11:18 pm 
Jens PorupFeb 24, 2005 6:03 pm 
Bob StaytonFeb 25, 2005 12:51 pm 
Subject:Re: [docbook-apps] using XIncludes
From:Jens Porup (je@porup.com)
Date:Feb 22, 2005 8:09:28 pm
List:org.oasis-open.lists.docbook-apps

On Tue, Feb 22, 2005 at 07:56:45PM -0800, John L. Clark wrote:

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

John,

Well, this is what my make target looks like:

xsltproc --output temp.html.xml \ --stringparam profile.condition html \ /usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \ ../tech_spec.xml; \ xsltproc \ --stringparam use.id.as.filename 1 \ --stringparam spacing.paras 1 \ --stringparam make.valid.html 1 \ --stringparam chunker.output.indent yes \ /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl \ temp.html.xml;

The xsl stylesheets are already mentioned--what does mentioning them twice serve?

Jens