all groups > visual studio .net ide > april 2004 >
You're in the

visual studio .net ide

group:

Getting VS.NET to spit out valid xhtml


Getting VS.NET to spit out valid xhtml darrel
4/30/2004 11:54:23 AM
visual studio .net ide:
I'm using Dreamweaver for most of my production work. I'm editing some files
that have been edited in VS.net and running into all sorts of headaches in
terms of getting proper xhtml...invalid doctypes, all uppercase tags, no
quotes around entities, etc.

Is there a setting in VS.NET to get it to use proper XHTML that I can get my
co-worker to use, or is this just what vs.net produces?

-Darrel

Re: Getting VS.NET to spit out valid xhtml Scott G.
5/3/2004 5:15:32 PM

You can get VS.NET to work in lower case, and some other bits; however, =
it doesn't grok XHTML (so things like <br /> often get changed to <br> =
when you least expect it). The best bet is to stay out of the VS.NET =
designer and don't reformat your HTML using the built in HTML =
reformatter.

Lastly, it's not possible to use webforms and be XHTML 1 strict.... =
hold your breath for Whidbey.

Scott
[quoted text, click to view]
I'm using Dreamweaver for most of my production work. I'm editing some =
files
that have been edited in VS.net and running into all sorts of =
headaches in
terms of getting proper xhtml...invalid doctypes, all uppercase tags, =
no
quotes around entities, etc.

Is there a setting in VS.NET to get it to use proper XHTML that I can =
get my
co-worker to use, or is this just what vs.net produces?

AddThis Social Bookmark Button