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

Laurent Muchacho LaurentM at london.virgin.net
Thu Feb 17 07:56:53 CST 2005


Hi Charlie,

Looking at your code there is something who's doesn't seems right

   <p 
   style = "font-family:sans-serif; padding-top:20px; font-size:20px">
   </p>
   <xsl:value-of />

Your p tag is actually empty is that correct or this supposed to be like
this 

   <p style = "font-family:sans-serif; padding-top:20px; font-size:20px">
	<xsl:value-of />
   </p>
   
Laurent

-----Original Message-----
From: charlie_chan [mailto:charlie_chan at cox-internet.com]
Sent: 17 February 2005 13:47
To: javascript at LaTech.edu
Subject: [Javascript] Off Topic, CSS and XML Question- this message is
in text format


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"?>

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list