Gets the contents of the XML provider file.
The buffer returned in contents should not be modified or freed, and is guaranteed to be valid as long as
this is referenced. If some error occurs, contents is set to
null.
| this |
the Provider. |
| contents |
location to receive the pointer to the file contents. |