Jirka,
That fixed it; thanks very much for your help.
Dick
> -----Original Message-----
> From: Jirka Kosek [mailto:
jirka@kosek.cz]
> Sent: Tuesday, February 19, 2008 5:01 PM
> To: Dick Hamilton
> Cc:
docbook-apps@lists.oasis-open.org> Subject: Re: [docbook-apps] xmllint, xinclude, xpointer, and
> DocBook 5.0
>
>
> Dick Hamilton wrote:
>
> > But, xmllint fails if I use an xpointer expression like this:
> >
> > <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
> > href="chap1.xml"
> > xpointer="xpointer(//chapter/title/node())"/>
>
> Your expression //chapter/title is asking for elements which
> are in no
> namespace. You have to declare prefix for DocBook namespace
> for XPointer
> query. In theory you can use something like:
>
> xpointer="xmlns(db=http://docbook.org/ns/docbook)xpointer(//db
:chapter/db:title/node())"
>
> Can you confirm whether xmllint supports this syntax?
>
> Jirka
>
> --
> ------------------------------------------------------------------
> Jirka Kosek e-mail:
jirka@kosek.cz http://xmlguru.cz> ------------------------------------------------------------------
> Professional XML consulting and training services
> DocBook customization, custom XSLT/XSL-FO document processing
> ------------------------------------------------------------------
> OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
> ------------------------------------------------------------------
>
>