My vendor doesn't always send me well-formed html documents. How can I use VB.NET to transform these documents.
Example of an error:
Any way around this?
VB.NET:
xmldoc.Load(server.MapPath("SCCPage.htm"))
dim sXpath as String
sXPath = "//table[id='ProductDataList']"
dim nodes as XmlNodeList
nodes = xmldoc.SelectNodes(sXpath)
Literal1.Text = nodes.Item(0).InnerXml.ToString
Example of an error:
This is an unexpected token. The expected token is 'WHITESPACE'
Any way around this?