title: 'tokenize()' is an unknown XSLT function
body: <p>I am using Visual Studio 2015. I want to find the smallest number in the Comma separated list using XSLT.</p>
  <pre><code>&lt;EndUnitizeDate&gt;2020-07-13T15:01:43&lt;/EndUnitizeDate&gt;
  &lt;InternalRecNum&gt;12,3,44,55,66&lt;/InternalRecNum&gt;
  &lt;LaunchNum&gt;0&lt;/LaunchNum&gt; &lt;LeadingSts&gt;900&lt;/LeadingSts&gt;
  </code></pre>
  <p>I used tokenize for splitting but I am getting <strong>'tokenize()' is an unknown XSLT function</strong> Error.</p>
  <pre><code>&lt;xsl:variable name=&quot;smallValue&quot; select=&quot;s0:WMWDATA/s0:WMFWUpload/s0:Receipts/s0:Receipt/s0:InternalRecNum/text()&quot; /&gt;
  &lt;xsl:variable name=&quot;tokenizedLine&quot; select=&quot;tokenize($smallValue, ',')&quot; /&gt;
  &lt;xsl:for-each select=&quot;$tokenizedLine&quot;&gt;
  &lt;xsl:sort select=&quot;.&quot; order=&quot;descending&quot; /&gt;
  &lt;xsl:if test=&quot;position() = last()&quot;&gt;
  Smallest: &lt;xsl:value-of select=&quot;.&quot; /&gt;
  &lt;/xsl:if&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/qbBDA.png" rel="nofollow noreferrer">enter image description here</a></p>