Jirka,

That fixed it; thanks very much for your help.

Dick

> -----Original Message-----
> From: Jirka Kosek [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 19, 2008 5:01 PM
> To: Dick Hamilton
> Cc: [email protected]
> 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: [EMAIL PROTECTED]      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
> ------------------------------------------------------------------
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to