W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2013

Re: Is the xpath() xpointer scheme namespace-aware?

From: David Cramer <david@thingbag.net>
Date: Tue, 06 Aug 2013 13:42:08 -0500
Message-ID: <52014380.9000307@thingbag.net>
To: Norman Walsh <ndw@nwalsh.com>
CC: XProc Dev <xproc-dev@w3.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/06/2013 01:32 PM, Norman Walsh wrote:
> 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.

That does indeed work.

Thanks!
David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSAUOAAAoJEMHeSXG7afUhuq0H/RofPBO+dJBg7uSCyunDAHcR
GmNTu5p9C2eg3M0fYBqGURQyCjKA9HnYcdgKOe+GWieLZ5yiVY2vkRmJOg73zE6M
XUyFSxx88qEjrAc+S5yBUbKdZJanTBpp/S51jghAR932z65KrgjGAyxlyl6WvDOG
pRRgMVihTRWxIFLBw3yPmPx2lp+fmaWRgkF6RXxStY957qBgAYdWxt5r8mJ9KhDe
fUYwlsmoNUkKbKTEgEIYoQdwrlJhDTYqP63EwDoIFZNnZFflcJJ+KbnMc0pmhPW8
TbhWZIXr16IeyoLmoZOi1v1BfJFKgDGbqAf5wVWzDACETAoNx93u/cSyzp3lhuE=
=kylD
-----END PGP SIGNATURE-----
Received on Tuesday, 6 August 2013 18:42:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC