You can use the xlink:actuate attribute to indicate when a link should be traversed. The xlink:actuate attribute has these predefined values:
onRequest— The link should be traversed only at the user's request.
onLoad— The link should be traversed when the document or resource is loaded.
other— This is a custom preference, as defined by the application.
none— This indicates no actuation (or indicates that the behavior of the application is not constrained by the markup).
You can also set your own values for xlink:actuate.
The first of the predefined values, "onRequest", indicates that the user should request the link to be traversed before any action takes place. Typically, the user request takes the form of a mouse click, ...