title: xsl file using properties.xml file in order to transform an xml file into the xml file with custom tags defined in properties.xml file
body: <p>If you store the properties file in XML format, for instance</p>
  
  <pre><code>&lt;Properties&gt;
      &lt;Property value="abc"&gt;ABC1&lt;/Property&gt;
      &lt;Property value="..."&gt;...&lt;/Property&gt;
  &lt;/Properties&gt;
  </code></pre>
  
  <p>then we can use xslt to process both(properties,input) XML files and replace abc elements(of input xml file) with ABC1(of custom output xml file) ones, etcetera.</p>
  
  <p>for example consider my below input xml file </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
         &lt;Content&gt;
            &lt;abc&gt;xxx
                   &lt;def&gt;zzz
                      &lt;ghi&gt;ccc&lt;/ghi&gt;ttt
                       &lt;dynamic val="hello" xmlns="http://abc.com" /&gt;
                        world
                       &lt;dynamic val="hi" xmlns="http://abc.com" /&gt;
                         &lt;dynAttr&gt;
                           &lt;dyn value=123 /&gt;
                           &lt;dyn value=222 /&gt;
                         &lt;/dynAttr&gt;
                           &lt;lmn&gt;data&lt;/lmn&gt;
  
                     &lt;/def&gt;
                  &lt;/abc&gt;
           &lt;/Content&gt;
  </code></pre>
  
  <p>with Properties file consisting of a property defined for each tag of input xml file,if no property defined for that input xml file tag then transformed xml tag has the same tag name to that of input xml file tag.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Properties&gt;
               &lt;Property value="Content"&gt;CONTENT12&lt;/Property&gt;
               &lt;Property value="abc"&gt;ABC1&lt;/Property&gt;
               &lt;Property value="def"&gt;www&lt;/Property&gt;
                &lt;Property value="ghi"&gt;yyy&lt;/Property&gt;
               &lt;Property value="dynamic"&gt;Dynamic1&lt;/Property&gt;
               &lt;Property value="dynAttr"&gt;DynAttribute&lt;/Property&gt;
  &lt;/Properties&gt;
  </code></pre>
  
  <p>using xslt and writing an xsl file which refers the properties xml file and when applied on the given input xml file and results in the transformed xml file as shown</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
                  &lt;www&gt;zzz
                      &lt;yyy&gt;ccc&lt;/yyy&gt;ttt
                       &lt;Dynamic1 val="hello" xmlns="http://abc.com&gt;hello&lt;/Dynamic1&gt;
                        world
                       &lt;Dynamic1 val="hi" xmlns="http://abc.com&gt;hi&lt;/Dynamic1&gt;
                         &lt;DynAttribute&gt;
                           &lt;dyn&gt;123&lt;/dyn&gt;
                           &lt;dyn&gt;222&lt;/dyn&gt;
                         &lt;/DynAttribute&gt;
                           &lt;lmn&gt;data&lt;/lmn&gt;
                     &lt;/www&gt;
  if the above code is my requirement then what must be the relative xpath expression in your answer &lt;xsl:template match=" "&gt;
  </code></pre>