Read xml file into HTML table
-
Trying to read xml file into html table. pretty simple stuff. I got an example off the net to work BUT only in IE, I would like it to work atleast in a few browsers rather than just one being IE. I tried: opera netscape firefox but didnt display xml data. Can anyone see if the code should be changed or have any suggestions to do this simple task
Markets Name Location Date
-
Trying to read xml file into html table. pretty simple stuff. I got an example off the net to work BUT only in IE, I would like it to work atleast in a few browsers rather than just one being IE. I tried: opera netscape firefox but didnt display xml data. Can anyone see if the code should be changed or have any suggestions to do this simple task
Markets Name Location Date
Take a look at this: XML Application[^] The note at the beginning clearly states that a data island (the xml tag) only works in Internet Explorer.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
Take a look at this: XML Application[^] The note at the beginning clearly states that a data island (the xml tag) only works in Internet Explorer.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
can anyone suggest a cross browser compatible code then ? surely this is a task that has been done many times ? thanks anyway Stefan
I think the safest way regarding browser compatibility is to use XSL/XSLT to transform the XML document into a plain XHTML document without any fancy browser specific stuff. A good starting point for reading is this XSLT Tutorial[^]. Besides this, I'm quite sure the internet is full of more resources. Simply google for the involved technologies.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
I think the safest way regarding browser compatibility is to use XSL/XSLT to transform the XML document into a plain XHTML document without any fancy browser specific stuff. A good starting point for reading is this XSLT Tutorial[^]. Besides this, I'm quite sure the internet is full of more resources. Simply google for the involved technologies.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook