Uniform XML processing