I have some plain websites created with plain HTML.
Inside the web pages, I use a webbot to inmclude header and footers into the page....
<!-- webbot bot="Include" u-include="de/xHeader.htm" tag="BODY" -->
This works fine in Expression Web 4.
In the tool I see only the webbot, Preview is fine, the saved file contains the included page as code between a startspan and endspan.
<!--webbot bot="Include" tag="BODY" u-include="de/xHeader.htm" startspan -->
... included html code
<!--webbot bot="Include" endspan i-checksum="51014" -->
When I open the web site in Visual Studio (HTML web Forms Editor), the preview is fine.
When I open the web site in Visual Studio (HTML Editor), there is no preview...
The code view is equal to Expression web...
When VS saves the file, it saves it like it is shown in the code. So the webbot is just written into the file but the code of the source is not there. .
This results into a page, where all included files (headers, footers) are missing.
Have I overseen something in Visual Studio, or can Visual Studio just not deal the the webbot?
IF VS cannot do this anymore, do we have a alternative?
Or has it something to do with the <!DOCTYPE HTML>, what is interpreted as HTML5 in VS?