Finished adding logic for processing xinclude.