I have a set of XHTML text files in a folder, I am reading in there text and writing it out into one large file. The problem is that there is a lot of text that is getting repeated that should not be repeated. I am refering to <html><head>....</head> and the like. There is just one long table in each file, I need to combine these tables also.
I am currently using IO.StreamReader but I think I need to conver to Xml.XmlTextReader, so help with this would be nice too.
Any help would be nice.