Topic: unable to render page in IE7 and safari browsers (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic: unable to render page in IE7 and safari browsers (Page 1 of 1)" rel="nofollow" >Topic: unable to render page in IE7 and safari browsers <span class="small">(Page 1 of 1)</span>\

Neurotic (0) Inmate
Newly admitted

Insane since: Jun 2008

IP logged posted posted 06-12-2008 07:54 Edit Quote

I created a xml file (Rss file) and with the help of xslt i tried to render it in browser. It works fine for all browsers other than safari and IE7,

can any one help me to solve the issue...

the xslt code is pasted below

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl=""

<xslutput method="html"/>
<xsl:variable name="title" select="/rss/channel/title"/>
<xsl:template match="/">
<title><xsl:value-of select="$title"/> - RSS Feed</title>
<style type="text/css">
<xsl:apply-templates select="rss/channel"/>

<xsl:template match="channel">
<body onload="document.getElementById('podurl').value=wi ndow.location;">
<div id="main">
<div id="header">
<div class="topnavLeft">
<a href="/">
<img src="/imgs/global/logo-xx.jpg" width="64"
height="22" border="0" alt="example" id="logo"/>
<div class="topnavLnks"></div>
<div class="topnavRight">Powered by <a href="">example</a></div>
<div id="content">
<img id="podLogo">
<xsl:attribute name="src">
<xsl:value-of select="./itunes:image/@href"/>
</img><h2><xsl:value-of select="title"/></h2>
<p id="description"><xsl:value-of select="./description"/></p>
<div id="preview">
<b>Preview </b>
<p>To preview the latest episode before subscribing,
<a><xsl:attribute name="href"> <xsl:value-of select="./item/enclosure/@url"/>
download this file.</a></p></div>
<div id="instructions">
<b>How do I subscribe to this podcast?</b>
Feed URL:<br/>
<input type="text" size="45" id="podurl" value="" onclick=";"/>
<h3>Contents:</h3><xsl:apply-templates select="item"/>

<xsl:template match="item">
<div class="item"><p>
<a><xsl:attribute name="href"><xsl:value-of select="./enclosure/@url"/>
</xsl:attribute><xsl:value-of select="title"/></a>
</strong><br/><xsl:value-of select="itunes:summary"/><br/>
<em><xsl:value-of select="pubDate"/></em>

the rss file is below

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet title="XSL" type="text/xsl" href="/styles/rss-stylesheet.xsl.xml"?>
<rss xmlns:itunes="" version="2.0">
<itunes:image href=""/>

<itunes:summary>summary </itunes:summary>
<guid isPermaLink="false"></guid>
<pubDate>Fri, 4 Apr 2008 00:00:00 IST</pubDate>
<enclosure url="" length="1734020" type="audio/x-mp3" />

Edit TP: Adding code tags

(Edited by Tyberius Prime on 06-12-2008 10:00)

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 06-12-2008 10:03 Edit Quote

<xslutput would be a good candidate to start the fixing,
otherwise I have no input for you right now.

So long,

->Tyberius Prime

Maniac (V) Inmate

Insane since: May 2001

IP logged posted posted 06-13-2008 01:56 Edit Quote

make said:

<xslutput method="html"/>

hehehe....xslutput that just sounds funny



Obsessive-Compulsive (I) Inmate

Insane since: Jun 2008

IP logged posted posted 06-25-2008 09:00 Edit Quote

.xslutput was a typing mistake the actual tag was xslutput

Post Reply
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
Your Text:
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu