View Single Post
  #4 (permalink)  
Old 02-27-2008, 10:12 PM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Is XML important?

Hi,
XPath is the one from which the SubMenu should start.

For eg:
Consider the Following
-> Book
----->Author
----------->BalaGuruSamy
------------------------>C
------------------------>C++
------------------------>Java
----------->Kanitkar
------------------------>C
------------------------>C++
------------------------>Java
In the above example the Book has SubMenu->Author
I dont want to display the Author instead i want to display BalaGurusamy,Kanitkar and its subMenus.

i.e...

-->Book
->BalaGuruSamy
->Kanitkar
Like this i want
For this we can use XPath="/*/*"->'/*' is used to indicate the starting node of submenus to be displayed.

Last edited by poornima : 02-27-2008 at 10:14 PM.
Reply With Quote