Possible Duplicate:
HTML doctype for includes (Visual Studio or HTML generic)
I am using T4 to generate a lengthy HTML file. Parts of the included HTML fragments cause validation warnings / error - this is obvious since the includes are just parts of the complete (valid) HTML code.
Can I disable the validation for a particular file? I know how to disable the validation for css / html in general - this is not what I want.
I have tried to rename the include files from .html to something else. However, this disables the validation warnings, but removes proper colouring of the HTML code. Furthermore different XML warnings appear. So this is not the right approach.
Any ideas? PS: ReSharper 7 available, so any solution based on R# is also fine.
Example:I include a list of countries, and the include file just contains the "options". This is where I get the warnings.
<optgroup label="Africa">
<option>North Africa</option>
<option>South Africa</option>
</optgroup>
....