title: Looking for a utility to mask xml content in form of key value tags
body: <p>I have a usecase where I want to mask my xml which has field and value like below:</p>
  
  <pre><code>&lt;root&gt;
      &lt;entries&gt;
          &lt;entry&gt;
              &lt;key&gt;key1&lt;/key&gt;
              &lt;value&gt;value1&lt;/value&gt;
          &lt;/entry&gt;
          &lt;entry&gt;
              &lt;key&gt;key2&lt;/key&gt;
              &lt;value&gt;value2&lt;/value&gt;
          &lt;/entry&gt;
          &lt;entry&gt;
              &lt;key&gt;key3&lt;/key&gt;
              &lt;value&gt;value3&lt;/value&gt;
          &lt;/entry&gt;
      &lt;/entries&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I want a utility which can does this by providing some configuration where I can just provide the field names that needs to be masked. Writing a full custom code using xpath and than reading the field names explicitly which needs to be masked and than does the masking is not scalable solution considering the addition of fields in the xml in future.</p>
  
  <p>Let me know if there is some utility which can be used for this.</p>