SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I add

  <table >   
      <xsl:apply-templates select='Rows/Row'/>
    <xsl:template match='Row'>
         <xsl:value-of select="@URLwMenu" disable-output-escaping="yes"/>

,nothing appears. How can I use URLwMenu Field Ref with xslt?

Edited: I found this answer but it only shows URL not the description. I don't want the urls appear. The descriptions of the URLs have to appear.

  <xsl:template match='dsQueryResponse' ...>
  <xsl:template match="Row">
         <xsl:element name="a">
              <xsl:attribute name="href"><xsl:value-of select="@URLwMenu"/></xsl:attribute>
              <xsl:value-of select="@URL"/>

I think I have to put something else instead of 'dsQueryResponse'.

share|improve this question
up vote 2 down vote accepted

For the actual hyperlink use @URL For the description use @URL.desc

<a href="{@URL}><xsl:value-of select="@URL.desc" /></a>

Hope this helps


share|improve this answer
Thank you soo much. It works. – e.ozmen Mar 8 '13 at 11:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.