[xsl] IE6 xml direct browsing

Subject: [xsl] IE6 xml direct browsing
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Wed, 7 Nov 2001 10:13:15 +0100
Hello everybody.
I'm trying to use IE6 tomake direct browsing of xml file.
I'm using the following xml file:

<?xml version="1.0" ?> 
<?xml-stylesheet type="text/xsl" href="simple.xsl" ?> 
<breakfast-menu> 
 <food> 
<name>Belgian Waffles</name> 
<price>$5.95</price> 
<description>two of our famous Belgian Waffles with plenty of real maple
syrup</description> 
<calories>650</calories> 
</food> 
<food> 
<name>Strawberry Belgian Waffles</name> 
<price>$7.95</price> 
<description>light Belgian waffles coverred with strawberrys and whipped
cream</description> 
<calories>900</calories> 
</food> 
<food> 
 ...........
</breakfast-menu>

and the following XSLT file:

<?xml version="1.0" ?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0"> 
<xsl:template match="/"> 
<HTML> 
<BODY STYLE="font-family:Arial, helvetica, sans-serif; font-size:12pt;
background-color:#EEEEEE"> 
<xsl:for-each select="breakfast-menu/food"> 
<DIV STYLE="background-color:teal; color:white; padding:4px"> 
<SPAN STYLE="font-weight:bold; color:white"> 
<xsl:value-of select="name" /> 
</SPAN> 
 
<xsl:value-of select="price" /> 
</DIV> 
 <DIV STYLE="margin-left:20px; margin-bottom:1em; font-size:10pt"> 
<xsl:value-of select="description" /> 
<SPAN STYLE="font-style:italic"> 
( 
<xsl:value-of select="calories" /> 
calories per serving) 
</SPAN> 
</DIV> 
</xsl:for-each> 
</BODY> 
</HTML> 
</xsl:template> 
</xsl:stylesheet>

The direct browsing using IE6 seems not to work. Instead it works using
ie5.5 and msxml3.dll in replace mode.

Can someone help me ?

Thanks a lot. Bye.

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


Current Thread