Home > Work > Content Query Web Part–Debug XSLT Template #in #SP2010 #SharePoint

Content Query Web Part–Debug XSLT Template #in #SP2010 #SharePoint

Something I always forget and scramble around to find:

<xsl:template name="Debug" match="Row[@Style=’Debug’]" mode="itemstyle">
        <xsl:for-each select="@*">
            Property Name: <xsl:value-of select="name()"/>
            Value: <xsl:value-of select="." /> <br/>
        </xsl:for-each>
    </xsl:template>

 

Original blog post is here:

http://kharlesp.blogspot.com/2008/07/getting-all-values-to-debug-xsl-in.html

I will be posting more stuff on the blog soon.  Things are a bit manic at the moment Smile

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: