You could:
Parse the XML as you read the file (I'm positive there's PHP tutorials on how to do this)
You could use [man]fread[/man] to read the contents of the file into a string.
Or you could use [man]fgets[/man] to read line by line.
There's a lot of options available. Depends on what your goal is...