Hmmm, well, I was about to say "I don't know it just won't work".
But your example works. Now, I removed some lines from my xml file. The <?xml version... one and the <data></data> tags.
Inside those tags are the <name></name> ones. Now it's working! It was working before as well but not inside...