• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to display data's from xml to html page

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi!
i was attend one interview..almost i completed all my interview rounds.
now they given a task for final thing.
This is my task:
The Project should only consists of *.html,*.css,*.js,*.xml.
so ,i decided to store my data into xml file ...and i am going to display the data's into the html page.
now my concept is this:
i have contact list inside that i have Friends,Family,Workers.
Each list i have First Name and Last Name.
so these data's are i have to display in Tree Structure Format into the html file..
when the user Clicks the Friends ,Family,Workers folder Should close and hides contact within it.
for eg:
when the user clicks the Friends Folder the name List should display like this:

-contact
-Friends
-Jean-Louis Durant
-Rene Norega
+Family
+Work

so ,
when the User Clicks Jean-Louis Durant then Two Text Fields are there In My HTML Page so First Name and Last Name display respectively.

like first Name:Jean-Louis
Last Name urant.
That's it.
Hope you all understand my situtation.
how to store into the xml file...means what is the structure.please give me some solution.
Thank you,
Kaleeswaran
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is a link for traverse xml data using javascript. hope it helps you to move forward.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Anil Verghese:
how to store into the xml file...



is this possible to write data into xml file through javascript?
 
reply
    Bookmark Topic Watch Topic
  • New Topic