Hi Massimo,
a bit in a hurry, so just quick comment:
[quote user="blumax57"]I apologize I thought I had understood but maybe not SetTagValue2 the macro assigns a tag[/quote]
No, "set" is not"append", my original method modifies existing tag, nothing else. To assign tag, another code based on AddTag or AddTags methods has to be used. But in such case the method should not be name "Set", but "Append" or something similar depending how it should behave ... to appedn only or to append if tag does not exist yet but to rewrite it if it exists?
[quote user="blumax57"]It is correct what I
'm doing?
[/quote]
Have no time to think about the code, but when I see so many if / else if etc. I guess it's not correct. But it's just a first thought, noting else.
Regards,
Jan