Working with ASP
I have a site that has the navigation layed out in a template, to give all my html files with the same look and feel. I have the need for asp pages with that same look and feel. Therefore I created another template using the .asp extension with the same layout. When I create the article with the asp code in it, it works fine until i click Normal view. This rudely rips out the asp code. Anyway I can prevent that from happening?
THis is because the normal view uses the microsoft control that needs to see xhtml syntax. If you contain your asp inside the appropriate xhtml tags that won't happen (CDATA -- I don't know the syntax offhand, but its in the specs).
If you stick your ASP code inside a CDATA tag, once the ASP code is parsed, will the browser still render it, or treat it as a comment?
Fog Creek Home