My XAML is here:
<Window.Resources>
<XmlDataProvider x:Key="rssSource" XPath="//item" Source="https://news.google.com/news?output=rss" />
</Window.Resources>
I need to change it when button click event:
<Window.Resources>
<XmlDataProvider x:Key="rssSource" XPath="//item" Source="CHANGE WITH TEXTBOX VALUE" />
</Window.Resources>
How can i do it?