title: XSLT replace value
body: <p>I have an XML like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;OMDefault xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
     &lt;PrintDollarsAndCents&gt;X&lt;/PrintDollarsAndCents&gt;
     &lt;MailAddrLine1&gt;Add1&lt;/MailAddrLine1&gt;
     &lt;MailAddrLine2&gt;Add2&lt;/MailAddrLine2&gt;
  &lt;/OMDefault&gt;
  </code></pre>
  
  <p>I would like to have an XSLT to transform the XML to this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;OMDefault xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
     &lt;PrintDollarsAndCents&gt;Y&lt;/PrintDollarsAndCents&gt;
     &lt;MailAddrLine1&gt;Add1&lt;/MailAddrLine1&gt;
     &lt;MailAddrLine2&gt;Add2&lt;/MailAddrLine2&gt;
   &lt;/OMDefault&gt;
  </code></pre>
  
  <p>Please notice the 'X' gets transformed to 'Y' if the attribute is PrintDollarsAndCents and its value is 'X'
  Could someone please help me with this? As I am very new to this XSLT thing.</p>
  
  <p>Thank you in advance. </p>