views:

166

answers:

1

What is the syntax for using XPath with Binding in XAML? Are there any MSDN pages which describe where to put the braces?

Visual Studio doesn't like the following:

<TextBlock Text="{Binding XPath=/One/Two[@id='0']/Three/@Four}" />

I want the Text of the TextBlock to be set to the value of the Four attribute.