Spaces don't matter with the code. It ignores spaces, as well as some other characters.
If in doubt, take a look at your xbmc.log file. If your advancedsettings.xml file is working/interpreted correctly, it should be visible in your log file. If there's a problem with it, it will tell you in the log file.
__________________
|