If XSD file, then parse as XML.