On Fri, Feb 18, 2005 at 10:45:08AM -0800, Bob Stayton wrote:
I see three solutions:
c. Put the section in a separate file and use XInclude to include it in the
main document. Then it is not redundant, and can be processed on its own as
Thanks for your prior post.
I've been trying to get my subsection XInclude'd for a couple of days
now, and it's just not happening.
Here's what my Xinclude looks like:
The included file is generated programmattically (lots of tables), but the top
<?xml version="1.0" encoding='UTF-8'?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
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.
The relative pathname is correct from the perspective of the build
document. The documentation suggests this should be fine; I tried
absolute pathnames as well, but this made no difference.
It looks like I've got this mostly working, but this final step
Can you see what I'm doing wrong?