I would like to convert variable $1 to variable $2. see image.
I don't get it. To split "ID" and keep the "Name" in the same object
(I can not chance the XML file, it is close to 40k lines.)
[xml]$1='
<Blades>
<Blade ID="1_3;1_10;1_27;1_34" Name="Blade Type A" />
<Blade ID="1_{16-17};1_40" Name="Blade Type B" />
</Blades>
'