Using SSI and XHTML

I'm brand new to Server Side Includes (SSI) an Microsoft's ASP and I'm
wondering if the HTML Working Group has any problem with these two items:

1)  Using Server Side Includes as the first line of code (in other words before
the XML and DOCTYPE declaration) to insert the DOCTYPE declaration, META tags,
scripts, style sheets, etc...

Example:
<!--#INCLUDE VIRTUAL="/global.inc" -->
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<HEAD>
..............................

2)  Using ASP code before the XML or DOCTYPE declaration.

Example:
<%
Dim page
page = Request.Querystring("pid")
%>
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
..............................


Anyway, I'm just wondering if the above coe examples would be considered legal,
because my websites are run off of ASP and SSI's, but I would prefer to remain
totally compliant with W3C standards.

Thanks,
David Bindel (nwprog@yahoo.com)

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Received on Tuesday, 29 May 2001 18:31:56 UTC