$(\'a[xlink\\\\:href=#coastline]\').attr(\'class\',\'grey\'); $(\'a[xlink\\\\:href=#onshore]\').attr(\'class\',\'blue-light\');
This is what I currentl
[*|href] will match both html href and svg xlink:href, then use :not([href]) to exclude html href.
[*|href]
href
xlink:href
:not([href])
//document.querySelectorAll('[*|href]:not([href])'); $('[*|href]:not([href])');
tested in chrome