Accept XML io.Reader input

In addition to string and []byte.