title: how to escape single quote in xslt substring function
body: <p>I tried to substring data with single quote in XSLT:</p>
  
  <pre><code>String : DataFromXML:'12345'
  </code></pre>
  
  <p>expected Result: <code>12345</code></p>
  
  <pre><code>&lt;xsl:value-of select="substring-after('$datafromxml','DataFromXML:')"/&gt;
  </code></pre>
  
  <p>Result: <code>'12345'</code></p>
  
  <p>i tried below code    </p>
  
  <pre><code>&lt;xsl:value-of select="substring-after('$datafromxml','DataFromXML:&amp;#39;')"/&gt;
  
  &lt;xsl:value-of select="substring-after('$datafromxml','DataFromXML:&amp;apos;')"/&gt;
  
  &lt;xsl:value-of select="substring-after('$datafromxml','DataFromXML:'')"/&gt;
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>String literal was not closed 'DataFromXML:'---&gt;'&lt;---
  </code></pre>