title: Find and replace in XAML programatically
body: <p>I'm trying to programatically parse/search a XAML file for a certain node then a certain attribute to modify it. The XAML is a windows workflow so its not really user controls. I have found many examples using XamlReader to parse a Xaml file to look for controls and then modify the controls. But in my case I'm looking for custom activities which are not dependancyObjects. Can I use XamlReader to find custom activities in a windows workflow Xaml and modify certain attributes? Or is there a better solution?</p>