Forum Moderators: open

Message Too Old, No Replies

XML DOM and HTML Firefox Problems

         

adder

10:12 am on Jan 29, 2008 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi,

I have a project where I am limited by HTML (I cannot use PHP but I still need to add dynamic content like news and announcements). It seemed to me that XML would provide a solution but then I noticed a problem: everything that I am doing works fine on Explorer but fails on Firefox.

Found a tutorial on w3schools com claiming to know how to make this solution crossbrowser. Copied their test code and tested on my servers. It still doesn't work with Firefox.

Have you experienced similar problems? Is there a solution?
Thank you!

cmarshall

1:03 pm on Jan 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not sure how you are using the XML. Is it an RSS stream, or are you sending XSLT to the browser?

httpwebwitch

3:10 pm on Jan 30, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You described your anxiety pretty well, but failed to describe what precisely you're doing. When you say "add dynamic content" I'm guessing you're loading content from some other URL and injecting it on your page. Right? If I'm right -- what are you loading? Is it XML?

Perhaps you could drop us a resonably brief code snippet showing what technique is failing in Firefox. The error messages in Firefox are unusually good, they should tell you on what line the error occurred.

I know a couple of javascript-based XML parsing techniques that could help, if I know in more detail what you're trying to accomplish