Select elements by attributes with ":" (colon)
You need to escape the colon
document.querySelectorAll('[xml\\3A space]')
I used https://mothereff.in/css-escapes to get the code above :)
Escape the :
by preceding it with a double backslash \\
document.querySelectorAll("[xml\\:space]")
See this:
https://bugzilla.mozilla.org/show_bug.cgi?id=883044
can also do
document.querySelectorAll('[id="xml:space"]')