Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: LaurentM at london.virgin.net (Laurent Muchacho)
  • Subject: [Javascript] Off Topic, CSS and XML Question- this message is in text format
  • Date: Thu Feb 17 07:57:16 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@xxxxxxxxxxxxxxxx]
Sent: 17 February 2005 13:47
To: javascript@xxxxxxxxxx
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@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript