Dynamic link to svg icon in href in a widget

Hi!

I have a similar “problem”.
I have created different .svg-files and i want to embed them also according to a itemvalue.
i already achieved that by using:
img src but I lose the ability to format the svg’s in my code by doing it this way.
I’d love to use xlink:href but somehow i can’t get it to work.
I appended .svg at the end and my link now looks like this:

<use xlink:href="/static/icons/{{itemValue('Condition')}}.svg"></use>

But unfortunately that does not work.