You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.
trying simplifying even what @brookestewart suggests.... you want to tell XPath to go down throughout your entire document // and find all the attributes @.
Brooke and @CodyKarch you both are on the right track with the asterisk. You just don't need to over complicate it especially since you will want to build off this first expression of finding all of the attributes in order to get the names of those attributes.
After you get the first part you very simply can get the second by telling XPath to now step further / and get the names name()
Well Done Brooke jumping on these issues with your useful tips!
Hey, I'm trying to use this:
//body//name(attribute::*)
but it won't work. Help?The text was updated successfully, but these errors were encountered: