title: Convert output of xsl to a url upon conditions
body: <p>I'm very much a novice at the moment, however I have used xsl to format an xml feed to out put into html for my site.  However, I would like to go a step further by also converting some of the output text to an html link.</p>
  
  <p>Are there any tutorials available that could help?</p>
  
  <p>To give a bit better context, the output is a football league table, that I would like to make the teams names automatically link to a url.  So if name = 'Portsmouth' then I would want Portsmouth to become a link I would determine.  How do I format the table below to do this for all the potentially different team names?</p>
  
  <pre><code>&lt;xsl:for-each select="team"&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;xsl:value-of select="position"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="name"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="played"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="won"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="drawn"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="lost"/&gt;&lt;/td&gt;  
  &lt;td&gt;&lt;xsl:value-of select="for"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="against"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="goalDifference"/&gt;&lt;/td&gt;
  &lt;td&gt;&lt;xsl:value-of select="points"/&gt;&lt;/td&gt;
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>`</p>