RE: [xsl] IE browsers

Subject: RE: [xsl] IE browsers
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 30 Aug 2001 03:07:54 +0100
Rosa,
Move the <object> tag into the <head>

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Rosa I-Ting Cheng
> Sent: 30 August 2001 00:36
> To: 'Kimberly.Hahn@xxxxxxxxxx'; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] IE browsers
> 
> 
> I tried viewing it in IE as well, but I get blank...
> this is what I have (I have the Object code temporarily 
> commented out since IE goes blank if I have it in there):
> 
> <%@ Language=VBScript %>
> <%Option Explicit%>
> <!--Get Title Info for html header-->
> <!--#include file="../../Include/TitleInfo.asp"-->
> <!--#include file="../../Include/Standard.asp"-->
> <%
> Dim ibrandid, sPage, sCssName, sCSSBodyName, LoginName, sURL 
> 'Code to prevent caching (provided by 
> Karthik)+++++++++++++++++++++++++++++++++++++++++++
> Dim strModified,dtModified
> dtModified = now()
> ibrandid = Application("BrandId")
> 
> 'Construct Last Modified String 
> strModified = WeekDayName(WeekDay(dtModified),TRUE) & ", " & 
> Day(dtModified) & " " & MonthName(Month(dtModified),TRUE) & " 
> " & Year(dtModified) & " " &
> Hour(dtModified) & ":" & Minute(dtModified) & ":" & 
> Second(dtModified) & " GMT"
> 
> ' Set the Last Modified Header
> Response.AddHeader "Last-modified", strModified 
> Response.Expires = -1440 Response.AddHeader "Pragma", 
> "No-Cache" Response.CacheControl = "No-Cache" 
> '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++
> +++++++++++++
> sPage="salesAgentMain.asp"
> sCSSName="../../" & sCSSLocation
> sCSSBodyName="../../" & sBodyCSSLocation
> LoginName =Request.QueryString("AgentID")
> 
> sURL = "http://"; & Request.ServerVariables("Server_Name") & 
> "/AgentAdmin/template/RetrievePortfolio.xml?agentloginid=" & 
> LoginName & "&brandid=" & ibrandid %> <HTML> <HEAD> 
> <title><%=sBrandName%></title> <!--<%response.write 
> "sBrandName " & sBrandName%>--> <link href="<%="http://"; & 
> Request.ServerVariables("Server_Name") & "/" & 
> sCSSLocation%>" type="text/css" rel="styleSheet"> <link 
> href="<%="http://"; & Request.ServerVariables("Server_Name") & 
> "/" & sBodyCSSLocation%>" type="text/css" rel="styleSheet">
> 
> 
> <SCRIPT LANGUAGE="JavaScript">
> </SCRIPT>
> </HEAD>
> 
> <xml id="qXML"></xml>
> <xml id="xmlCopy"></xml>
> <xml id="fXSL"></xml>
> 
> <!--<object CLASSID="CLSID:f5078f19-c551-11d3-89b9-0000f81fe221"
> codebase="../../../msxmldl/msxml3.cab#version=8,00,7820,0" id="msxml3"
> VIEWASTEXT></object>-->
> 
> <!--<object id="MSXML3" 
> classid="clsid:f5078f32-c551-11d3-89b9-0000f81fe221"
>  codebase="../../../msxmldl/msxml3.cab#version=8,00,7820,0"
> type="application/x-oleobject"
> STYLE="display: none">
> </object>-->
> 
> <FORM name="mainForm">
> <INPUT name="logon" value="<%=LoginName%>" type="HIDDEN"/> 
> <INPUT name="css1" value="<%="http://"; &
> Request.ServerVariables("Server_Name") & "/" & 
> sCSSLocation%>" type="HIDDEN"/> <INPUT name="css2" 
> value="<%="http://"; &
> Request.ServerVariables("Server_Name") & "/" & 
> sBodyCSSLocation%>" type="HIDDEN"/> <INPUT name="servername" 
> value="<%="http://"; & 
> Request.ServerVariables("Server_Name")%>" type="HIDDEN"/> </FORM>
> 
> <frameset rows="165,*" border=0 marginheight=0 marginwidth=0 
> topmargin=0>
> 	<frame src="treeagent.asp" name="xmlStr" noresize 
> frameborder=no framespacing=0 border=0 marginheight=0 
> marginwidth=0 topmargin=0 scrolling=no NORESIZE>
> 	<frame src="<%=sURL%>" name="MainFrame" frameborder=no 
> framespacing=0 border=0 noresize marginheight=0 
> marginwidth=0> </frameset>
> 
> </HTML>
> 
> 
> thanx!!
> 
> Rosa
> 
> -----Original Message-----
> From: Hahn, Kimberly [mailto:Kim.Hahn@xxxxxxxxxx]
> Sent: Saturday, 25 August 2001 1:00 AM
> To: Rosa I-Ting Cheng
> Subject: RE: [xsl] IE browsers
> 
> 
> The tag I included doesn't display anything.  It just ensures 
> that the file will be loaded on a user's computer.  If you 
> are using Interdev, a file with this tag may give you that 
> message, but if you view the page from IE it should not give 
> you that message.  The tag is there more for IE then for 
> anything else.  IE uses the tag and determines if the MSXML 
> referenced in the tag is available on the user's machine.  If 
> it is IE doesn't do anything, all is well.  If IE doesn't 
> find that version of MSXML or higher then it downloads the 
> cab and registers the files in the cab.  That way you know 
> that client side transformations will be done with a version 
> of MSXML that knows how to handle your namespaces.
> 
> This isn't a universal fix.  If you have a user that is 
> running NT or 2000 that does not have administrative rights 
> on their machine, then IE will not be able to download and 
> use the MSXML referenced in the tag.  These users will need 
> to get someone who has administrative rights to install the 
> file to their machine.  Also, user's with security settings 
> that will not accept downloads could have problems.  For the 
> application I work on we have included these issues in our 
> FAQ.  I would also encourage you to pull a copy of the cab 
> file to your web directory and reference it from your 
> wwwroot. There is no guarantee that MSDN will leave it in the 
> directory the file is in today (I've been burnt by this in the past).
> 
> 
> -----Original Message-----
> From: Rosa I-Ting Cheng [mailto:Rosa@xxxxxxxxxxxxx]
> Sent: Thursday, August 23, 2001 9:49 PM
> To: 'Kimberly.Hahn@xxxxxxxxxx'
> Subject: RE: [xsl] IE browsers
> 
> 
> I tried adding that piece of code in (the exact code with the 
> path changed to suit my file location as the msdn site) and 
> I'm using it in an ASP page, but when I run the page, I get 
> blank.  and when I was editing the page in the ms development 
> environ, I want to change to design view, I get the
> error: "An object has failed to load.  The object will be 
> displayed as text." so I presume it's something wrong when 
> loading the object. can you please tell me y?
> 
> thanx!
> 
> Rosa
> 
> -----Original Message-----
> From: Hahn, Kimberly [mailto:Kim.Hahn@xxxxxxxxxx]
> Sent: Friday, 24 August 2001 12:59 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; Rosa I-Ting Cheng
> Subject: RE: [xsl] IE browsers
> 
> 
> I work on an application that uses IE 5.x and up, 
> exclusively.  To make sure that the XSLT/XSL that is used by 
> the web based application will run on client machines we make 
> sure that the client has at least the MSXML that we need 
> installed.  This is done as the user logs into the system 
> using the following tag in a web page:
> 
> <object CLASSID="CLSID:f5078f19-c551-11d3-89b9-0000f81fe221"
> codebase="../../controls/msxml3.cab#version=8,00,7820,0" id="msxml3"
> VIEWASTEXT></object>
> 
> We pulled the cab file from a Microsoft web site.  We have 
> both domestic and international users and this has been 
> working well for US systems and European systems.
> 
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Hewko, Doug
> Sent: Thursday, August 23, 2001 7:18 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'; 'Rosa@xxxxxxxxxxxxx'
> Subject: RE: [xsl] IE browsers
> 
> 
> First, there's a MSXML XSL FAQ at 
> http://www.netcrucible.com/xslt/msxml-faq.htm
> 
> It says that IE 5 and up has XSL in it. XML will not work 
> under XSL without modification. I've tried. (And to be 
> honest, I do not know if you can even install additional EXEs 
> to get it to work.)
> 
> IE 5, 5.5 comes with an early pre-recommendation version of 
> XSL, namely "TR/WD-xsl". Consequently, your XSL will work but 
> not all commands are available. To use the more interesting 
> (and standardized) features of XSL, you will either have to 
> update to MSXML 4.0 or go server-side.
> 
> I can not comment on IE 6 because it is only in beta stage. 
> But it is interesting that Microsoft does not make any 
> mention of IE 6 supporting XML on their web site. They do 
> advertise increased CSS and DHTML support though... (URL: 
> http://www.microsoft.com/windows/ie/preview/fault/default.asp )
> 
> I hope this helps.
> 
> -----Original Message-----
> From: Rosa I-Ting Cheng [mailto:Rosa@xxxxxxxxxxxxx]
> Sent: August 22, 2001 10:36 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: [xsl] IE browsers
> 
> 
> ok so just to get things a bit more clearer...
> XML works on IE browsers from 4 upwards right?
> then IE 4, 5 and 5.5 all require extra EXEs such as the SP1 
> and the xmlinst.exe etc to be installed for the XSL to work 
> properly on them? then XSL only works properly on IE 6 
> without installing anyother EXEs?
> 
> rosa
> 
> 
> -----Original Message-----
> From: Max Dunn [mailto:maxdunn@xxxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, 23 August 2001 11:48 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] IE browsers
> 
> 
> IE 5.5 is no better than 5.0 with respect to XSLT.  You need 
> to install MSXML3 SP1 (This is available as one program 
> including MSXML and the service pack) and xmlinst.exe to 
> transform XML properly in IE 5.5.
> 
> Max
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Rosa I-Ting Cheng
> Sent: Wednesday, August 22, 2001 6:29 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] IE browsers
> 
> 
> Dear pplz,
> 
> I know that XSL and XML works fine on IE6, but as for IE5.5, 
> do you really need to install the MSXMLWR.EXE and the 
> xmlinst.exe (think this is the
> parser) for the XSL to transform the XML properly? (I 
> downloaded the exes a while ago to work on IE5.5, and can't 
> exactly remember their actual
> names)
> There was at a stage where after installing those 2 exes 
> above, the browser still didn't work, and showed a PCDATA 
> problem comment.  So one of my colleagues found this xml3 sp1 
> which then made the browser work with XSL and XML. (by work I 
> mean allowed the XML to be transformed and show meaningful
> info)
> so my question is: Is there anything I can add into the 
> XSL/XML so that there is no need to install the MSXMLWR, 
> xmlinst and the sp1? Or do I have to install all three and 
> this is the only option?
> 
> 
> Rosa
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread