Encrypting XML Element
<p>I have created XML file called users.xml
Looks like this:</p>

<pre><code>&lt;Users&gt;
  &lt;user&gt;
    &lt;uin&gt;"0012345"&lt;/uin&gt;
    &lt;name&gt;black&lt;/name&gt;
    &lt;email&gt;"bk@hotemail.com"&lt;/email&gt;
    &lt;created&gt;"3/02/2010"&lt;/created&gt;
  &lt;/user&gt;
  &lt;user&gt;
    &lt;uin&gt;"123456780"&lt;/uin&gt;
    &lt;name&gt;sam&lt;/name&gt;
    &lt;email&gt;"sam@hotmail.com"&lt;/email&gt;
    &lt;created&gt;"3/02/2010"&lt;/created&gt;
  &lt;/user&gt;
  &lt;user&gt;
    &lt;uin&gt;"123456799"&lt;/uin&gt;
    &lt;name&gt;kblack&lt;/name&gt;
    &lt;email&gt;"kblack@hotmail.com"&lt;/email&gt;
    &lt;created&gt;"3/02/2010"&lt;/created&gt;
  &lt;/user&gt;
&lt;/Users&gt;
</code></pre>

<p>I want to encrypt the  element.  Using code like  </p>

<pre><code>XmlElement uinelement = (XmlElement)xmldoc.SelectSingleNode("Users/user/uin");
</code></pre>

<p>...encrypts only first UIN from the user.xml file. </p>

<p>How can I Encrypt all UIN elements? </p>

<p>Thank you<br>
Kanta</p>
