Animations with OpenHAB

This is a good explanation. I will use it.

The id (examplepath) must be unique. You can use it different times in a page as long as the properties stay the same. If you want to use it more than once with different properties, you have to add something to the id to make it unique.

You could define a item property (with name: itemName) and add the itemName property to the id:

...
id: ='examplepath'+props.itemName
...
xlink:href: ='#examplepath'+props.itemName

It would be even better if you could add a random number, but I did not find how to do it.