I need to write the code in C#.
I get the following string containing xml elements.
**"\n <iqn:CDFID xmlns:iqn=\"ns:iqn:cwm:1.0\">Clearance Type</iqn:CDFID>\n <iqn:CDFName xmlns:iqn=\"ns:iqn:cwm:1.0\">Clearance Type</iqn:CDFName>\n <iqn:CDFValue xmlns:iqn=\"ns:iqn:cwm:1.0\">THE ACTUAL VALUE</iqn:CDFValue>\n "**
The elements are CDFID CDFName CDFValue
The above 3 elements could be in any order inside the string. How do I identify the CDFValue xml element and extract the value "THE ACTUAL VALUE" out.
How can I treat the string in an xml manner and get the value of the desired element out.