How to read XML and display data on website

Discussion in 'Programming' started by faizzsheikh, Nov 26, 2013.

  1. #1
    I am not good with coding and scripts.

    I want to use XML to display data on my website, the moment I update my XML the data must appear automatically on the front end of the website.

    Is there an example that you can give or an explanation or a video tutorial.

    Thank You!
     
    faizzsheikh, Nov 26, 2013 IP
  2. faizzsheikh

    faizzsheikh Active Member

    Messages:
    164
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Anyone there
     
    faizzsheikh, Nov 27, 2013 IP
  3. Hton

    Hton Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    your keywords are jquery + long-polling + xml
    - establish long polling w/ intervals (let say 30 sec).
    - fetch and parse xml with help of jquery
    - reload your html table/div with jquery
     
    Hton, Nov 27, 2013 IP
  4. donmhico

    donmhico Greenhorn

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    What language are you using? If you are using PHP then you can use the built-in XML Parser (http://us3.php.net/xml)
     
    donmhico, Nov 27, 2013 IP
  5. quzai

    quzai Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #5
    Learn XML at w3schools look for PHP SimpleXML good luck.
     
    quzai, Dec 5, 2013 IP
  6. faizzsheikh

    faizzsheikh Active Member

    Messages:
    164
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    88
    #6
    Thanks for your answers!
    There is no simple way for doing this... I understand that will have to put in some serious effort to learn this XML skill... lets do it!!
     
    faizzsheikh, Dec 5, 2013 IP
  7. QiSoftware

    QiSoftware Well-Known Member

    Messages:
    805
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    158
    #7
    You can also use Java Servlets or CURL- which is like PHP. There are any number of solutions for parsing XML data and outputting to a web page...

    Q...
     
    QiSoftware, Dec 17, 2013 IP