title: Match text to encoded link text (XSLT)
body: <p>I am attempting to process a document that has a url that is xml-encoded and is an attribute of the current node. I want to match the contents of the  tag with a static string. The best I can do so far is using contains:</p>
  
  <pre><code>&lt;xsl:when test="contains(@Activity,'&amp;gt;stringToMatch&amp;lt;/a&amp;gt;')" &gt;
  </code></pre>
  
  <p>Is there a better way?</p>