• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

how to extract data and represent it on browser

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am creating a menu UI. I have xml data to describe menu, submenu, subsub menu etc.... I want to extract these menu items and display it on the browser.

On the home page, i need to display only first level menu..Once i click on any first level menu, it should take me to that particular page and display second level menu under first level menu.. how do i do it?

Do i need to use xpath? or do i need to use only xml query? How do i relate second level menu to first level menu ?
my xml structure as follows:


on the browser,(home page), only File and Edit need to displayed. Once i click on file-> it should take me to another page/same page and display second_level menu->New. If i click on New, it should display all the third_level items under NEw. How do i do this? I need only the logic.... I don't want to hardcode anything...everything should be automatic.

Can any one please help me
 
It's a tiny ad. At least, that's what she said.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic