I have an svg with linear gradient:
<svg>
<g clipPath="...">
<path fill="url(1)") />
</g>
<defs>
<linearGradient id="1">
....
</linearGradient>
<clipPath id="1">
....
</clipPath>
</defs>
</svg>
Is there another way to fill the path
tag with a linear gradient or the code inside the defs
tag every time is required?