ContentQuery Web Part xsl script to view all available values

May 26, 2009   12:58


ContentQuery xsl script to view all available valuesI’m often using the following xsl template script to check the available values and items which are available for the Content Query Web Part.

This script can be added to the itemstyle.xsl for use. I’m always copying it from older projects, so now it’s on my blog for faster access :)

<xsl:template name=”TestView” match=”Row[@Style='TestView']” mode=”itemstyle”>
 <xsl:for-each select=”@*”>
  ITEM:
  <xsl:value-of select=”name()” />
  VALUE:
  <xsl:value-of select=”.” />
  <BR />
 </xsl:for-each>
 <BR />
 <BR />
</xsl:template>


Tags: , .





1 Comment »

  1. [...] method now shows up on the list. Simple huh? If the method isn't showing up on the list make …Edwin Vriethoff ContentQuery Web Part xsl script to view …A blog with tips and info about .NET, C# , Sharepoint en BizTalk written by Edwin Vriethoff … [...]

    Pingback by testview — April 1, 2010 @ 1:48 am

RSS feed for comments on this post. TrackBack URL

Leave a comment





The content expressed in this blog are those of Edwin Vriethoff and do not represent his employer's view in anyway. The contents of this blog has been carefully put together, but Edwin Vriethoff is not responsible in any way for any direct or indirect harm caused by individuals or organizations using the content of this blog in any way.