Filtering Data Using the XmlDataSource Control
Visual Studio 2010
You can filter the XML data exposed by an XmlDataSource control by setting the control's XPath property to an XPath filtering expression. If you have specified an Extensible Stylesheet Language (XSL) style sheet to transform the data exposed by your XmlDataSource control, the XPath filtering expression is applied after the transformation takes place.
The following code example shows an XmlDataSource control bound to a TreeView control. The XML data is filtered using an XPath query.
Community Additions
ADD
Show: