Author: smithspd | Posted on: 4/8/2010 5:18:59 PM | Views : 329

Hello,
I need to display the innertext of the each node as items in my menu along with count (i.e; NewObject1(1), NewObject2(2)). I m using treeview but not able to bind this to treeview using xmldom
Xpath being://Request/NewObject/Object/text(). But not able to read text() attribute to treeview.
Please provide me with a working code for this.
<root>
 <Request>
  <NewObject ID="1">
  <Object ObjectID="1" ObjName="Home1" Count="1">NewObject1</Object>
  </NewObject>
  <NewObject ID="2">
  <Object ObjectID="2" ObjName="Home2" Count="2">NewObject2</Object>
  </NewObject>
  <NewObject ID="3">
  <Object ObjectID="3" ObjName="Home3" Count="3">NewObjec ...

Go to the complete details ...