Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Nearly every one of us have designed custom ItemStyles in ItemStyle.xsl to produce the presentation format needed by business. I think it will be great if we can put together these styles here for the benefit of everyone.

For example, here is the first one from me (basically for debugging)

<!-- List Every Property START -->
    <xsl:template name="ListEveryProperty" match="Row[@Style='ListEveryProperty']" mode="itemstyle">
        <xsl:for-each select="@*">
    	    F:<xsl:value-of select="name()"/>--<xsl:value-of select="."/><br/>
<!-- List Every Property END -->

I will try to add other styles too.

share|improve this question

closed as too localized by Anders Rask Jun 1 '11 at 17:43

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

I think something went wrong with whatever you meant to post above. –  Marc D Anderson Jan 22 '10 at 17:35
hi namwar and welcome to SharePoint Overflow. :-) A Knowledge Base kind of question like the one above, that has more than once answer should be marked as community wiki. Read more here sharepointoverflow.com/questions/432/… –  Anders Rask Jan 22 '10 at 17:58
I added xsl code but it is not getting displayed. Administrators please check! –  Namwar Rizvi Jan 22 '10 at 23:38
@Namwar: Next time if you select the code and click the "Code Sample" button on the editing toolbar it will work. Thanks and welcome! :-) –  Alex Angas Jan 23 '10 at 5:26
Like others have said, SO is for answering questions. Please consider something like Jeremy Thake's SharePoint Developer Wiki for something like this. –  Bil Simser Apr 18 '10 at 14:19

Browse other questions tagged or ask your own question.