Because my XML (xyx.xml) file does not have a reference to the XSLT (xyz.xsl) file, which is to transform the XML to HTML, I used a HTML file (xyz.html) below:
And things worked fine for me. When I double clicked on the xyz.html, I was able to view the HTML output. I have the Windows 98. I transferred my three files (xyz.xml, xyz.xsl, and xyz.html) over the internet to another person. The person (who has the Windows 2000) double clicked on the xyz.html and got a blank page. Does anybody know what could go wrong? I started studying XML about two months ago. I am lost when things like this happen. Thanks in advance.
Channy
Greenhorn
Joined: Nov 18, 2002
Posts: 13
posted
0
Maybe they opened the file using Netscape, in which case that code would not work. As far as that code goes I've used it in ie but older versions of netscape cause errors. I don't know if that helps.
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Originally posted by JiaPei Jen: Because my XML (xyx.xml) file does not have a reference to the XSLT (xyz.xsl) file, which is to transform the XML to HTML, I used a HTML file (xyz.html) below:
And things worked fine for me. When I double clicked on the xyz.html, I was able to view the HTML output. I have the Windows 98. I transferred my three files (xyz.xml, xyz.xsl, and xyz.html) over the internet to another person. The person (who has the Windows 2000) double clicked on the xyz.html and got a blank page. Does anybody know what could go wrong? I started studying XML about two months ago. I am lost when things like this happen. Thanks in advance.
Ask him to check the Internet explorer version that is using, its always good to install the latest MSXML parser as well.