Wrapped SimpleXMLElement in a try catch to avoid parsing errors