Just wanted to create a short memo to self as I tend to forget that .net/XPath stuff faster than periods of its usage follow :).
So given the following MS CRM Business Entity xml:
One can parse it down to the value of v2_lastchangeon property as follows:
A bit of a catch here for me was (again!!! I’m really a sclerotic!) to use a non empty named namespace (“x” in my case) to get to the result. See http://stackoverflow.com/questions/4271689/xml-selectnodes-with-default-namespace-via-xmlnamespacemanager-not-working-as-exp for more discussion on the subject.
Hope I remember I wrote this when I need it again :):)!