Archive of UserLand's first discussion group, started October 5, 1998.
Re: What about XSL on the Server?
Author: Scott Sweeney Posted: 9/17/1999; 12:07:11 PM Topic: scriptingNews XSL for Microsoft XML Parser(IE5) Msg #: 11240 (In response to 11238) Prev/Next: 11239 / 11241
I'm not sure, but as an FYI, you can use my XSL from the server for browsers not using IE5 by using the Microsoft XSL Parser and instantiating it from your server via an ASP or other method.
Try this demo from any browser.
Here's the ASP page:
<% m="http://news.userland.com/scriptingNews2.xml" s="http://www.idiosync.net/xsl/sn20b1.xsl"
set xmlDoc = Server.CreateObject("Microsoft.XMLDOM") set xslDoc = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async = false xmlDoc.load(m)
if 0 <> xmlDoc.parseError.errorCode then
Response.Write("XML parseError on line " & xmlDoc.parseError.line)
xslDoc.async = false xslDoc.load(s)
if 0 <> xslDoc.parseError.errorCode then
Response.Write("XSL parseError on line " & xslDoc.parseError.line)
str =xmlDoc.transformNode(xslDoc) response.write(str) %>
There are responses to this message:
- Re: What about XSL on the Server?, deutz, 3/6/2000; 6:48:16 PM
This page was archived on 6/13/2001; 4:52:43 PM.
© Copyright 1998-2001 UserLand Software, Inc.