XML: Use ragtag instead of closepair

Closepair stopped working at some point.  Probably a conflict
with something else.