<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <symbol id="foo"> <style type="text/css"> svg { counter-increment: x; } </style> </symbol> <use xlink:href="#foo"/> </svg>