[Javascript] Off Topic, CSS and XML Question- this message is in text format

charlie_chan charlie_chan at cox-internet.com
Thu Feb 17 07:46:31 CST 2005


The reason I posted the page here is that anyone who does
a lot of work with browsers has to deal with XML.

Does IE6 support CSS in a .xsl file? I've got .xml, .dtd,
and a .xsl files, but the .xsl file has no effect on the
formating of the XML document display which does display.
It is copied straight out of the book, so the code should
be correct.

Here is the XSL page:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http............."> removed link for posting
<xsl:template match="/">
 <HTML>
  <HEAD>
   <TITLE>A Test</TITLE>
  </HEAD>
  <BODY>
   <xsl:for-each select="story/section">
   <p 
   style = "font-family:sans-serif; padding-top:20px; font-size:20px">
   </p>
   <xsl:value-of />
   </xsl:for-each>
  </BODY>
 </HTML>
</xsl:template>
</xsl:stylesheet>

The XML page contains the correct reference to the XSL page:
<?xml-stylesheet type ="text/css" href="story.xsl"?>




More information about the Javascript mailing list