Archive

Posts Tagged ‘Debug’

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
%d bloggers like this: