I often find myself struggling with the same issue but I find that in practice it doesn't really matter, xml is just data.
That said, I usually prefer the "if it says something about the node it's an attribute, otherwise it's a childnode" approach.
In your example i'd go for:
0
1
because the x and y are properties of a coordinate, not actually saying anything about the xml, but about the object represented by it.