dom: return a more precise `Array[XMLTag]` as the doc already said