I'm adding an svg diagram in a boostrap page and i need to pass a parameter in the links - in my case, I want the links to contain the parameter "data-tab" which tells bootstrap which tab to use.
Is there a way to add a parameter to the svg? It can be a fixed value (or taken from the diagram source, but I guess that would be more difficult).
Example: I have
<a xlink:type="simple" xlink:show="new" xlink:title="tab3.link1" xlink:actuate="onRequest" xlink:href="#tab3.link1" target="_top">
and I'd want
<a xlink:type="simple" data-tab="#tab3" xlink:show="new" xlink:title="tab3.link1" xlink:actuate="onRequest" xlink:href="#tab3.link1" target="_top">
Thank you