OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook] XInlcude not working

When I do not use the xpointer and include entire files everything works
fine. The issue is that I have several cases where I use the xpointer to
include parts of a document from other books.

Is there a special thing I need to add to the xpointer so it will
resolve correctly? Do I have the xpointer syntax correct?

I have looked around on the Web and found very little that is helpful.

It worked great when I was not using the namespace aware stylesheets and
left the included file in Docbook 4 mark-up. Once I moved the included
file to Docbook 5 mark-up the whole thing went south.

-----Original Message-----
From: Dave Pawson [mailto:davep@dpawson.co.uk] 
Sent: Tuesday, July 01, 2008 12:07 PM
To: Johnson, Eric
Cc: docbook@lists.oasis-open.org
Subject: 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.



Dave Pawson

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]