Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What Could Go Wrong?

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic