namespace prefixes for author action XPaths

Are you missing a feature? Request its implementation here.
whyme
Posts: 89
Joined: Fri Mar 08, 2013 8:58 am

namespace prefixes for author action XPaths

Post by whyme »

I have a frameworks file where I want, in the Author Actions, to specify an Activation XPath that applies to a <div> in one namespace but not another. It would be nice if in a framework I could declare namespace prefixes and use them, independent of what the user might have (or not have) listed at Preferences > XML > XSLT-XQuery > XPath.

If the functionality I want already exists, it would be nice to have it explained in your documentation.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: namespace prefixes for author action XPaths

Post by Radu »

Hi,

I understand, I will add an internal issue for this. Right now you need to write the XPath activators something like this:

Code: Select all

*:div[namespace-uri()='http://foo.example.com']
which does not look that nice.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply