473,387 Members | 1,463 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,387 software developers and data experts.

XML tree not displaying in IE7

33
Hi,

My feed is not showing in IE7, working fine in FF,chrome and IE6,
here is the code

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.     <feed>
  3.         <title>Transaction Details</title>
  4.         <records>
  5.                 <transaction>
  6.                 <tID>1</tID>
  7.                 <uID>1567YTY01</uID>
  8.                 <Commission>125.00</Commission>
  9.                 <Status>Hold</Status>
  10.                 <mID>M184</mID>
  11.                 <Type>3</Type>                
  12.                 <Date>2009-02-10</Date>
  13.                 </transaction>
  14.     </records>
  15. </feed>
  16.  
  17.  
pls help me urgently.. thanks in advance


Ruth
May 17 '10 #1
4 3581
RuthC
33
Ohh , No luck.. Its driving me mad.. pls help me somebody...
Im getting error like this 'feed format not supported'
Ruth.
May 17 '10 #2
jkmyoung
2,057 Expert 2GB
what's the extension of your file? .xml? .rss?
May 17 '10 #3
RuthC
33
Extension is .xml I want the out put in xml tree format.
pls help me urgently..
Ruth.
May 18 '10 #4
Atli
5,058 Expert 4TB
Hey.

I just came across a similar problem, and I discovered two things.
  1. It seems that IE assumes that any XML with a <feed> node is a RSS feed. And as such, instead of parsing it as generic XML and showing the tree, it sends it through a RSS specific parser, which then fails because the XML is not compliant with any RSS specification, giving an error like:
    Internet Explorer does not support this feed format.
    And it goes on to specify a list of supported RSS standards.
  2. It does not accept any character set except Unicode. When trying to use an ISO charset, I get a message reading:
    Switch from current encoding to specified encoding not supported. Error processing resource 'http://localhost/test/text.xml...
    Although, given the text of the message, it seems it may be able to convert some character sets to Unicode automatically.

Therefore, to get your example working, you would either have to modify it to implement one of the RSS standards, or change the charset and rename the <feed> node into something more generic. This seems to work:
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <root>
  3.     <title>Transaction Details</title>
  4.     <records>
  5.         <transaction>
  6.             <tID>1</tID>
  7.             <uID>1567YTY01</uID>
  8.             <Commission>125.00</Commission>
  9.             <Status>Hold</Status>
  10.             <mID>M184</mID>
  11.             <Type>3</Type>
  12.             <Date>2009-02-10</Date>
  13.         </transaction>
  14.     </records>
  15. </root>
P.S.
Note that I am using IE8, not IE7. I suspect they both (mis)behave similarly though. (I don't have a IE7 installation available to me atm, so I can' test it.)
May 23 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: David | last post by:
I have a simple tree structure where node x can have y children. Node x's children are stored in an array. I want to supply a node to a function and count the TOTAL number of children for that...
1
by: Adalbert | last post by:
First, I'm sorry for my english. Second, I've a little question: is some tree stucture like collections ArrayList or Queue to hold tree of same objects in .NET? Maybe I can use TreeView to that. I...
3
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
8
by: marar.harish | last post by:
I need the following programs: Q. Write a c program that will allow you to enter and maintain a computerized version of your family tree.Begin by entering the number of generation.Then enter the...
2
by: FrankEBailey | last post by:
I've been reading up on Modified Preorder Tree Traversal and it's definitely ideal for the kind of tree structures I need to model for my company's multi-level sales hierarchy. I've implemented the...
13
by: hornedw | last post by:
I have been working on a ecommerce website for myself. What I needed some assistance on was when i was trying to display the categories/subcategories for the different products. I decided to use...
4
by: contactme.navin | last post by:
Hi, I have problem in displaying the treeview in my asp pages. I had used the obout.com tree view to display the tree navigation in the webpages. Following is the error i got in the page....
0
by: saravanaVijayakumar | last post by:
I'm new to xml .. I had created a application such a way that I have to display the xml file in treeview control in C#.Net Application ... If I select the particular Node it should display the...
2
by: nicky123 | last post by:
Hi everyone, This is a brief description that I have provided for parsing & displaying an XML document using DOM API. Please feel free to post your own comments & views regarding...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.