Re: [docbook] XInlcude not working

From
Dave Pawson <>
Date
2008-07-01T16:07:47+00:00
ID
Thread
Re: [docbook] XInlcude not working
Johnson, Eric wrote:
> I am trying to move from Docbook 4 to Docbook 5, but am having trouble 
> getting my xincludes to work...
>  
> I've got
> 
> <xi:include href="../common/mvnappx.xml" xpointer="ESBMavenAppxP1"/> to 
> include
> 
> <para xml:id="ESBMavenAppxP1">&esb; provides a Maven plug-in and a 
> number of Maven archetypes that make developing, packaging, and 
> deploying applications easier. While the tooling forces you into working 
> in a Maven project paradigm, it does provide you with a number of 
> benefits. These benefits include:</para>
> 
> It will not resolve using Saxon.
> 
> The error I get is
> 
> [java] org.xml.sax.SAXParseException: Include operation failed, 
> reverting to fallback. Resource error reading file as XML 
> (href='../common/mvnappx.xml'). Reason
> : XPointer resolution unsuccessful.

So it didn't resolve?

I don't think that's an xinclude issue is it?

I'm using it happily, but without the xpointer bit.

<xi:include href='tests.section3.xml'/>

This is within a chapter, including a section.

HTH





regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk