
## set_target {#str}

Sets the 'target' attribute of the SVG 'a' element to a custom XML name.


### Returns 


The current instance of SVGAElementBuilder for method chaining.


```python
def set_target(self, xml_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| xml_name | str | The custom XML name to be used as the target. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentException | Thrown when xmlName is null or empty. |





### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGAElementBuilder`](/svg/python-net/aspose.svg.builder/svgaelementbuilder)
