Doing the XSLT for SharePoint can be frustrating, especially getting custom site columns or values you’re not sure about if they actually exists in a certain context. For the standard item styles most of you might know the trick:
<xsl:for-each select="@*"> <xsl:value-of select="name()"/> – <xsl:value-of select="."/> <br/> </xsl:for-each> That let you display all the variables you can access with name and value. ...