The following xpath query gets nodes except where the ancestor is a particular type:
(/def:Image|…|//def:TextBox)[not(ancestor::clpm:EditableText)]
However, I want to be able to exclude all nodes that have an ancestor that is in the clpm
namespace.
Can't work it out guys, any ideas?
Thanks