Hi,
I would like to hide the 'Root Node' when we bind XML data to WebDataTree. Can someone please suggest how to do it? I have "webclient 2010 vol1" on my machine.
Following is the exact requirement but I want to hide ROOT NODE, Countries, from Webdatatree.
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.1/CLR3.5/html/WebDataTree_Binding_WebDataTree_to_an_Xml_Data_Source.html
any ideas?
Thanks,
RootNode is 'Customers'. I meantioned it as 'Countries' in my previous post. thanks
Hello logwbc,
I would suggest using the XPath expression of the XMLDataSource.
If we use the example from the help documents the value for the XPath should look like this:
Customers/Customer
This sets the path the XMLDataSource should use to get to the part of the XML you need.
Hope this helps.
Stamen Stoychev
thanks ....it worked for me :)