The reply from Wonko the sane is correct. The reason you're seeing this effect is that the XML recommendation mandates some whitespace normalisation rules that must be applied by XML parsers when reading attributes. Unfortunately not all XML parser modules work exactly the same way, but the simple rule is that if you don't want your whitespace messed with, don't store it in an attribute.
In reply to Re: XML::Simple and newlines
by grantm
in thread XML::Simple and newlines
by rbi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |