title: XSLT - create recursive child emements using common element names
body: <p>I am new to XSLT and wonder if there is a solution to a requirement to put emements into recursivce parent/child elements</p>
  
  <p>The XML I want to produce:</p>
  
  <pre><code>&lt;NAVs&gt;
   &lt;NAV&gt;
     &lt;ShareClass1&gt;A-USD&lt;/ShareClass1&gt;
   &lt;/NAV&gt;
   &lt;NAV&gt;
     &lt;ShareClass1&gt;A-SGD&lt;/ShareClass1&gt;
  &lt;/NAV&gt;
  &lt;NAV&gt;
     &lt;ShareClass1&gt;A-SGD (H)&lt;/ShareClass1&gt;
  &lt;/NAV&gt;
  &lt;/NAVs&gt;
  </code></pre>
  
  <p>The XML I have.</p>
  
  <pre><code>&lt;Share_class2_SH_1_NAV_lang_ID&gt;A-USD&lt;/Share_class2_SH_1_NAV_lang_ID&gt;
  &lt;Share_class2_SH_2_NAV_lang_ID&gt;A-SGD&lt;/Share_class2_SH_2_NAV_lang_ID&gt;
  &lt;Share_class2_SH_3_NAV_lang_ID&gt;A-SGD (H)&lt;/Share_class2_SH_3_NAV_lang_ID&gt;
  &lt;Share_class2_SH_4_NAV_lang_ID&gt;A-ACC-AUD (H)&lt;/Share_class2_SH_4_NAV_lang_ID&gt;
  </code></pre>
  
  <p>Any ideas as to how an XSLT template would be laid out?  </p>