title: XSLT 2.0 - How to format text with numbers to numbers?
body: <p>I want to transform
  "<strong>0 year(s), 0 month(s), 0 day(s)</strong>" to "<strong>000000</strong>". In YYMMDD format.</p>
  
  <p>I tried this but not sure how to format it to bring as YYMMDD if they are of single digit. </p>
  
  <pre><code>&lt;xsl:value-of select="concat(normalize-space(substring-before(ns:Service,'year')),normalize-space(substring-after(substring-before(ns:Service,'month'),',')),normalize-space(substring-after(substring-before(ns:Service,'day'),'month(s),')))"/&gt; 
  </code></pre>
  
  <p>So, 1 year(s), 4 month(s), 23 day(s) transforming to 1423 but expected value is 010423.</p>
  
  <p>14 year(s), 12 month(s), 11 day(s) transforming to 141211 correctly. </p>
  
  <p>Appreciate your help. </p>