<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV>Hello,<BR>
Is IE 4.01 capable of trapping XML streams and processing them<BR>using XSL as
they come from the server? (just as it traps and processes HTML<BR>streams from
the server).<BR><BR>
I am in the process of building an XML enabled server side<BR>application which
will talk to SQL server(6.5) tables and facing such
a<BR>problem.<BR>
My ENVIRONMENT is
:-<BR><BR>
* OS :- Windows NT Server
4.0<BR>
* Scripting Evnvironment :-
ASP<BR>
* Scripting Language :-
VBScript<BR>
* Client Browser :- IE
4.01<BR>
* Web Server :- IIS
4.0<BR>
* Database Server :- SQL Server
6.5<BR><BR> I
am trying to incorporate the following functionalities to
the<BR>application in the following
manner:-<BR><BR>
FUNCTION 1 :- The application should be able to construct XML<BR>data sources
from the data stored in the SQL
tables.<BR><BR>
IMPLEMENTATION OF FUNCTION 1:- I am using ASP (ADO objects<BR>within
ASP) to construct XML data sources within ASP pages.A code snippet
is<BR>:-<BR>
.<BR>
.<BR> <%@
LANGUAGE = VBScript
%><BR>
<?XML
VERSION="1.0"?><BR>
<TABLE1><BR>
<%<BR>
Set Conn =
Server.CreateObject("ADODB.Connection")<BR>
Conn.Open
"TABLE1"<BR>
Set RS = Conn.Execute("select * from
TABLE1")<BR>
Do while not
RS.EOF<BR>
%><BR>
<FIELD1><%= RS("Field1")
%></FIELD1><BR>
<FIELD2><%= RS("Field1")
%></FIELD2><BR>
<%<BR>
RS.MoveNext<BR>
Loop<BR>
%><BR>
</TABLE1><BR><BR><BR><BR>
FUNCTION 2 :- The server application should send the XML data<BR>source
constructed in the ASP as an XML stream to the client
browser.<BR><BR>
IMPLEMENTATION OF FUNCTION 2:- Sending the XML stream back to<BR>the client
browser is easily achievable through ASP. But the problem is in<BR>trapping the
XML stream by the client
browser.<BR><BR>
Just like in a normal HTML interaction , the server sends an<BR>HTML stream
back, which the client browser traps and displays , the same<BR>mechanism should
also hold if one plans to send an XML stream
back.<BR><BR>
Based on the above content here are my questions
:-<BR><BR> 1)
Does IE 4.01 trap and process the XML data stream as it<BR>arrives from
the
server?<BR>
(The way it traps and processes
HTML)<BR>
If so how?If not, how to make it do
it?<BR><BR>
Ideally, an XML data stream is attached with an XSL stylesheet<BR>for display
purposes, for which the MSXSL processor can be
used.<BR><BR>
2) How to associate the incoming XML data stream (not a .XML<BR>file) from the
server with an XSL stylesheet (using MSXSL processor)
in<BR>IE4.01?<BR><BR>
Any suggestions would be
appreciated,<BR>
Thanks in advance,<BR><BR>AMIT<BR></DIV></DIV></BODY></HTML>