Selecting using namespaced attribute #2350
sidharthnayyar
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Hi there, Are you in a position that you know the namespace prefix? I.e. can you just use If not, there's not currently direct support for say Alternatively you could use the (That works because for convenience in in the XPath selector we simplify to using the local names of tags and attributes.) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I can only find how to select an element using namespaced element, not namespaced attribute; is there a way?
Example:
<ac:structured-macro ac:name="note" ac:schema-version="1" ac:macro-id="9d8c24cd-1dc3-465a-aaf4-688bc1e546a0">CSS Select:
*|structured-macro[*|name="info"]^ I can do
*|for the element but not for the attribute - I am unsure how to select the "name" attribute within the ac namespace.Beta Was this translation helpful? Give feedback.
All reactions