473,378 Members | 1,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

browser issue with xml

I have a xml and xsl file when i run the xml in IE ^ and firefox i
have differnt kind of layout for my page.In firefox it gives me what i
want but not in iE please help.This my code

XML FILE
file name goa.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="goa.xsl"?>
<!-- Edited with XML Spy v2007 (http://www.altova.com) -->
<catalog>
<link>
<title>google</title>
<url>http://www.google.com </url>

</link>
<link>
<title>Picture book</title>
<url>http://www.google.com</url>

</link>
<link>

<title>yahoo</title>
<url>http://www.yahoo.com</url>

</link>
<link>

<title>yahoomail</title>
<url>http://www.yahoo.com</url>
</link>
<img>
<src>file:///c:/banner.GIf</src>
</img>
<mimg>
<src>file:///c:/main.GIF</src>
</mimg>
<simg>
<src>file:///c:/a.GIF</src>
</simg>
<simg>
<src>file:///c:/b.GIF</src>
</simg>
<simg>
<src>file:///c:/c.GIF</src>
</simg>
<simg>
<src>file:///c:/d.GIF</src>
</simg>
<maintext>
<text>this is text for main page from xml </text>

</maintext>
<maintext>
<text>this is text for main page from xml </text>

</maintext>
<maintext>
<text>this is text for main page from xml </text>

</maintext>
<maintext>
<text>this is text for main page from xml </text>

</maintext>
<maintext>
<text>this is text for main page from xml </text>

</maintext>
</catalog>
---------------------------------------------------------------------------------------------
XSL FILE
file name goa.xsl
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Edited with XML Spy v2007 (http://www.altova.com) -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/
>
<xsl:template match="/">
<html>
<body>

<table border="1">

<th align="left">menu</th>
<tr>
<table border="1">

<xsl:for-each select="catalog/link">
<tr>
<td>
<a>
<xsl:attribute name="href">
<xsl:value-of select="url"/>
</xsl:attribute>
<xsl:value-of select="title"/>
</a>

</td>

</tr>

</xsl:for-each>

<xsl:for-each select="catalog/img">
<tr>
<td>
<img>
<xsl:attribute name="src"><xsl:value-of select="src"/></
xsl:attribute>
</img>
</td>
</tr>
</xsl:for-each>

</table>
<td><!-- this td is for main side -->
<xsl:for-each select="catalog/mimg">
<tr>
<td>
<img>
<xsl:attribute name="src"><xsl:value-of select="src"/></
xsl:attribute>
</img>

</td>
</tr>
</xsl:for-each>
<xsl:for-each select="catalog/maintext">
<tr>
<td>

<xsl:value-of select="text"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="catalog/simg">
<td><td>

<img>
<xsl:attribute name="src"><xsl:value-of select="src"/></
xsl:attribute>
</img>
</td></td>
</xsl:for-each>

</td>
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Apr 12 '07 #1
1 1566
Arun dudee wrote:
have differnt kind of layout for my page.In firefox it gives me what i
want but not in iE please help.
Could you describe what the difference is, for the convenience of those
who don't have time to try the side-by-side comparison but who might be
able to do a quick visual inspection?

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Apr 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
115
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
11
by: David Lozzi | last post by:
Hello All, I am having an issue with thus far one computer on my client's web site. If the user loads the shopping cart and then closes all browser windows, then opens them back up, goes back to...
1
by: Nathan DeBardeleben | last post by:
This may seem wierd, and I know someone asked this question before but was told they were doing it the hard way. Unlike them, I do not have shell access to the machine where this javascript runs....
3
by: Rob | last post by:
I have an ASP.Net web app that generates a Crystal Report in PDF format. Since there is sensitive data within the reports, the pdfs need to be streamed to the browser then deleted immediately. The...
3
by: Ben | last post by:
Hi, I'm sending out a session cookie. That is a cookie that has no expiration date. When I surf through the site, no problems, but if I close the browser and open it back up, the cookie is still...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
14
by: askMe | last post by:
I developed a web page that plays an mpg using the simple embed tag. When the page loads, the video starts, but then stops after a few seconds. I use the embed tag because I want the user's...
5
by: ns21 | last post by:
How can the browser back button be disabled If the form is submitting information to other pages or submitting to itself or using redirections. I tried the tweaks like history.forward(1) in each...
4
by: =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post by:
Hi everybody, I've got an ASP.NET 1.1 application and I need to add to it new Browser Capabilities information for 3 new cellular phones. I used to use...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.