Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Read xml file into HTML table

Read xml file into HTML table

Scheduled Pinned Locked Moved XML / XSL
htmlxmltutorial
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thedom2
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • T thedom2

      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

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      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

      www.troschuetz.de

      T 1 Reply Last reply
      0
      • S Stefan Troschuetz

        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

        www.troschuetz.de

        T Offline
        T Offline
        thedom2
        wrote on last edited by
        #3

        can anyone suggest a cross browser compatible code then ? surely this is a task that has been done many times ? thanks anyway Stefan

        S 1 Reply Last reply
        0
        • T thedom2

          can anyone suggest a cross browser compatible code then ? surely this is a task that has been done many times ? thanks anyway Stefan

          S Offline
          S Offline
          Stefan Troschuetz
          wrote on last edited by
          #4

          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

          www.troschuetz.de

          T 1 Reply Last reply
          0
          • S Stefan Troschuetz

            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

            www.troschuetz.de

            T Offline
            T Offline
            thedom2
            wrote on last edited by
            #5

            thanks for your assistance stefan :)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups