I have a nested element xml like below
<ExecutionGraph>
<If uniqKey="1">
<Do>
<If uniqKey="6">
<Do />
<Else />
</If>
</Do>
<Else>
<If uniqKey="2">
<Do />
<Else>
<If uniqKey="3">
<Do />
<Else />
</If>
</Else>
</If>
</Else>
</If>
</ExecutionGraph>
Each If element has uniqKey attribute. Know I want to find uniqKey="3" with linq and add some elements in its tag. it's element.
It's been hours which I'm searching but I didn't find any solution.
Thanks in advance.