File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes What Could Go Wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "What Could Go Wrong?" Watch "What Could Go Wrong?" New topic
Author

What Could Go Wrong?

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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
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
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.


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What Could Go Wrong?