View Full Version : xml xslt and css works in ie8 only...

05-13-2009, 03:57 AM
These three work together in IE8 but not in firefox or opera. It's all on my local disk in the same desktop folder. I don't want to use IE8 even though it's local. Any help is much appreciated.

XHD Contents XML.xml (snippet)
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="XHD Contents XSL.xsl"?>
<title index="2">free movie</title>

XHD Contents XSL.xsl
<?xml version="1.0" encoding="UTF-8"?>

<HTML xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<LINK REL="stylesheet" TYPE="text/css" HREF="master.css" />
<div class="bleh"><h3>XHD Contents</h3></div>
<table border="1">
<xsl:for-each select="XHD_Content/movie">
<td><xsl:value-of select="title"/></td>


.bleh h3 {
color: #BC4700;

Alex Vincent
05-13-2009, 05:01 PM
Hmm. XHD Contents XSL.xsl has no XHTML markup in it. (No XHTML namespace, and a couple elements aren't lowercase.) Try that?