I am working on a project that will read in a huge file and insert the data into a SQL database. I can read the document, but all of the XML is incorrect. I get it as an excel spreadsheet, but it's actually about 6 webpages stuck into one document, and it opens as a webpage in IE. Getting the document formatted differently is not an option.
Here's the problem. The XML I'm getting looks like this
and C#'s Xml.Reader is expecting
with the quotes around the style name and I keep getting an Unexpected Token error. Does anyone know how tell the reader to ignore the invalid style?