The scope selection looks for empty lines, or lines that just have a { or }. In XML you care about the level of indentation far more.