title: Creating Contact Us XSLT in umbraco
body: <p>I am trying to use this code to select all of the pages for this website and if the url has contact in it. It would pull that specific url. I neeed to make it create a link with the url value that the for-each would pull.</p>
  
  <pre><code>&lt;xsl:for-each select="$currentPage/ancestor-or-self::* [@level=$level]/* [@isDoc and string(umbracoNaviHide) != '0'] [contains(@nodeName,'contact')]"&gt;        
  
  
  
             &lt;xsl:value-of select="@nodeName"/&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>