in reply to XMLout $self hash
And the question is, Why the different behaviour if all the options I tried are basically the same?
Because in real life (unlike the sample you've shown here), they are different, they are not the same