title: How to compare two string that contains single quote( ' ) in xsl
body: <p>I have to compare two strings containing single quote in xsl-1.0, but when I test them, it never works. I've tried with</p>
  
  <pre><code>&lt;xsl:if test="/name= 'start of string d&amp;apos; end of string'"&gt;
  &lt;xsl:if test="/name= 'start of string ' end of string'"&gt;
  </code></pre>
  
  <p>But in those situations I get an error telling me that end of string was unexpected</p>
  
  <p>and by changing the quotes by single quotes </p>
  
  <pre><code>    &lt;xsl:if test='/name= "start of string ' end of string"'&gt;
  </code></pre>
  
  <p>It build but the test return false even though it clearly should return true.</p>
  
  <p>What am I doing wrong ?</p>