1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Data binding ?

Discussion in 'General Programming Chat' started by travelerbg, Apr 17, 2013.

  1. travelerbg

    travelerbg Regular Member

    Joined:
    Feb 23, 2010
    Messages:
    235
    Likes Received:
    10
    Home Page:
    Hello guys,

    I have an university project and need to include data binding to a website. One of the task is to integrate txt or xml file with information about products and prices to an eCommerce website. What is the most simple way to do it ?


    thanks in advance
     
  2. shindig

    shindig Registered Member

    Joined:
    Aug 2, 2012
    Messages:
    62
    Likes Received:
    9
    Occupation:
    Programmer
    Location:
    Seattle, WA
    Home Page:
    XML is pretty simple, do you have to read and write to it or do you simply supply it as an external source?

    There's an example on w3cschools or whatever site that shows you how to parse the xml and you can loop through the nodes from each entry to populate an html template you set up.
     
  3. travelerbg

    travelerbg Regular Member

    Joined:
    Feb 23, 2010
    Messages:
    235
    Likes Received:
    10
    Home Page:
    dont need to write or to input any info, just the information for the products which is on the xml to show on the html page

    cant find the code in wc3schools, could you give me a link ?