xmllint: close spans.