- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 06 Aug 2013 14:32:31 -0400
- To: XProc Dev <xproc-dev@w3.org>
Received on Tuesday, 6 August 2013 18:33:06 UTC
David Cramer <david@thingbag.net> writes:
> or (assuming I'd bound http://docbook.org/ns/docbook to 'db'):
>
> //*[@xml:id = 'test']/*[not(self::db:title)]
>
> Is the xpath scheme namespace-aware?
Yes, but you have to specify the binding in the pointer:
<xi:include
href="test.xml"
xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpath(//*[@xml:id = 'test']/*[not(self::db:title)])"/>
If that doesn't work, uhm, let me know.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
Received on Tuesday, 6 August 2013 18:33:06 UTC