Stripping XML declaration before parsing XML to prevent an Exception from being thrown