Is the xpath() xpointer scheme namespace-aware?

Hi there,
I'm processing DocBook xml with Calabash and using xinclude with the
xpath() scheme to pull in all the children of a section EXCEPT for the
title. The following works fine, but is inelegant:

xpointer="xpath(//*[@xml:id = 'test']/*[not(local-name(.) = 'title')])">

I was expecting to be able to do:

//*[@xml:id = 'test']/*[not(self::title)]

or (assuming I'd bound to 'db'):

//*[@xml:id = 'test']/*[not(self::db:title)]

Is the xpath scheme namespace-aware?


Received on Monday, 5 August 2013 21:04:05 UTC