How do browsers (IE4.01) trap XML st

Graham Moore graham.moore at
Fri Jul 31 11:32:30 BST 1998

Depending on how much browser side control you require over the XML stream, 
you could embed the XSL activeX control and script it to fetch data from IIS 
and the asp's.

Just insert the activeX  XSLControl into an initial HTML page. Probably a 
base frame.

                <PARAM NAME="styleURL" VALUE="sample.xsl">

   <frame name=content>

And on loading, set the URL of the XSLControl.document to be the asp page.
Then insert the resulting stylesheeted HTML / XML into the content frame.

<SCRIPT FOR="window" EVENT="onload">
       XSLControl.documentURL = "doit.asp"
       xslHTML = XSLControl.htmlText;
      document.content.outerHTML = XSLControl.htmlText;

In addition, calls to other asp pages will have to go via the activeX 
control. But thats ok as the asp's are generating the content.

so it will generate something like

onClick="top.XSLControl.documentURL = anotherASP.asp"

The style sheet/s can be fetched in a similar.

Alternatively you could use the XSLControl on the server, mangle the 
generated XML with the appropriate style sheet and just send the resulting 
HTML to the browser from the ASP.

I hope this is of help.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list