I don't know of any errors... but it seems that Firefox has some issues with displaying XML right now... (check bugzilla [http://bugzilla.mozilla.org]).
I know that I can in my browser on my local machine, create an XML file, write to it, and then have it display properly with the stylesheet. Conversely, on your site, I get something without style. And in IE, it looks o..k..
I'll look into it.. you just may have found a FF bug...
~Brett
EDIT
NO, wait, nevermind... it's not a firefox thing.... doh!!
If you PM me your mySQL connection info, I could possibly work on some working code, but for what I can, this works and works well:
http://phpbuilder.bpatterson.net/lazzerous.php
Here's teh code to lazzerous.php
<?php
// Set this document to be an XML document
//header('Content-Type: text/xml');
$filelink = fopen('lazzerous.xml', "wb");
fputs($filelink, "<?xml version='1.0'?>\r
<?xml-stylesheet type=\"text/css\" href=\"rss.css\" ?>\r
<rss version=\"2.0\">\r
<channel>\r");
fputs($filelink, "
<pubDate>".date('m-d-Y T', time())."</pubDate>\r
<title>Cinch Connectors News</title>\r
<link>http://www.cinch.com/view_news.cinch</link>\r
<description>Get all the latest updates from Cinch Connectors</description>\r
<language>en-us</language>\r
<webMaster>webmaster@cinch.com</webMaster>\r\r");
fputs($filelink, "
<item>\r
<title>Cinch Unveils New iQ Interconnect Technology</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=15</link>\r
<description>Cinch Unveils New iQ Interconnect Technology</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH INTRODUCES SPECIALTY HARNESS ASSEMBLIES</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=14</link>\r
<description>CINCH INTRODUCES SPECIALTY HARNESS ASSEMBLIES</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH POTTED HERMETIC CONNECTORS</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=13</link>\r
<description>CINCH POTTED HERMETIC CONNECTORS</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>Low Profile Board-to-Board Connectors</title>
<link>http://www.cinch.com/view_news.cinch?pr_id=12</link>\r
<description>Low Profile Board-to-Board Connectors</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH INTRODUCES MODULAR INTEGRATED CONNECTOR ENCLOSURES</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=10</link>\r
<description>CINCH INTRODUCES MODULAR INTEGRATED CONNECTOR ENCLOSURES</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH INTRODUCES SEALED ECU CONNECTOR SYSTEM</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=11</link>\r
<description>CINCH INTRODUCES SEALED ECU CONNECTOR SYSTEM</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>Cinch appoints K.MECS distributor in Japan</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=9</link>\r
<description>Cinch appoints K.MECS distributor in Japan</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH BBF(tm) CONNECTOR OFFERS SUPERIOR PERFORMANCE IN AN F-STYLE RF INTERFACE</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=8</link>\r
<description>CINCH BBF(tm) CONNECTOR OFFERS SUPERIOR PERFORMANCE IN AN F-STYLE RF INTERFACE</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>Cinch goes live with new website</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=7</link>\r
<description>Cinch goes live with new website</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>CINCH UNVEILS BROAD LINE OF RF CONNECTORS</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=5</link>\r
<description>CINCH UNVEILS BROAD LINE OF RF CONNECTORS</description>\r
</item>\r\r");
fputs($filelink, "
<item>\r
<title>DEFENSE SUPPLY CENTER AWARDS CINCH REYNOSA</title>\r
<link>http://www.cinch.com/view_news.cinch?pr_id=6</link>\r
<description>DEFENSE SUPPLY CENTER AWARDS CINCH REYNOSA</description>\r
</item>\r
</channel>\r
</rss>");
header('Location: lazzerous.xml');
?>
I wanted to execute as many calls as I could (like you would in a loop) and still make the document semi-dynamic. So this works, not sure why yours won't, but if you look at it, it does work...
Sorry...
But I do notice that there is a slight space between your text= and "text/css". Not sure if that's in the code or not...
~Brett
EDIT
If I had to make a final guess, I'd say that your stylesheet has something to do with it. Either it's not being imported, OR it's not rendering right. WHen I go to my stylesheet (http://phpbuilder.bpatterson.net/rss.css) I get the proper content-type of text/css; however, with your stylesheet I get the content-type of text/html... not sure why, but it does that.... it shouldn't. Check that as well.
~Brett