• 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

Problem executing xml and xsl with IE5

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
i've the followings which works fine with xalan. i have these two files (xml and xsl) in the same directory. when i open this xml file in IE5, displays nothing instead of "Empire Burlesque". couldn't figure out what's wrong. could anyone please pointed out me what wrong did i do?
here is the "cdcatalog.xml" file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
</catalog>
here is the "cdcatalog.xsl"
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="catalog/cd/title"/>
</xsl:template>
</xsl:stylesheet>
is there anything that i need to istall so that IE5 could work with xml and xsl to display what's expected? i would also like to thank all who've helped me with my previous problem so quickly.
thanks.
himal
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Use IE6 and it should work fine.
Vasudha
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hima,
I think if you can get the latest MSXML parser, it would work fine. It would be available on microsoft site. Best is to install IE 6.0 which has the latest parser.
Good luck,
Rakesh.
--------------------
IBM Certified XML Dev.

Man is a product of his own thoughts. What he thinks he becomes - M.K.Gandhi

 
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
Hi Rakesh!..
Just a doubt,does ur signature quote was told by Gandhi or by Swami Vivekanandha ?I guess its by Vivekanandha.
Regards
Balaji
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Himal,
XML in a nutshell (page 108) says -


IE5 and IE5.5 support their own custom version of XSLT, based on a very early draft of the XSLT specification. They do _not_ support XSLT 1.0. You can tell the difference by looking at the namespace of the stylesheet. A stylesheet written for IE5 uses the http://www.w3.org/TR/WD-xsl namespace, whereas a stylesheet designed for standard-complaint XSLT processors uses the http://www.w3.org/1999/XSL/Transfrom namespace. Despite superficial similarities, these two languages are not compatible. A stylesheet written for IE will not work with other XSLT processors, and a stylesheet written with standard XSLT 1.0 will not work in IE.


Cheers,
Dan
 
Rakesh Gudur
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Balaji,
I know the quote is by Gandhi. I read it somewhere. Though I don't have any evidence to prove it in the court of law ;-)
Cheers,
Rakesh.
-----------------
IBM Certified XML Dev.

Be you ever so high, the law is above you.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic