Filtering Data Using the XmlDataSource Control

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.

No code example is currently available or this language may not be supported.

Community Additions

ADD
Show: