W3C home > Mailing lists > Public > www-html@w3.org > May 2001

Using SSI and XHTML

From: David Bindel <nwprog@yahoo.com>
Date: Tue, 29 May 2001 15:31:51 -0700 (PDT)
Message-ID: <20010529223151.72490.qmail@web11505.mail.yahoo.com>
To: www-html@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:48 GMT