title: SharePoint 2010 List View webpart XSLT
body: <p>I'm trying to create a custom display of a list view web part using XSLT. I have linked to a xsl file and populated it with the following code:</p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal" xmlns:o="urn:schemas-microsoft-com:office:office"&gt;    
  &lt;xsl:template match="/"&gt;
      &lt;table class="ms-listviewtable" cellspacing="0" cellpadding="1" width="100%" border="0"&gt;     
          &lt;thead&gt;
             &lt;th class="ms-vh2"&gt;Title&lt;/th&gt;
             &lt;th class="ms-vh2"&gt;Status&lt;/th&gt;
             &lt;th class="ms-vh2"&gt;Percent Complete&lt;/th&gt;
          &lt;/thead&gt;      
      &lt;/table&gt;
  &lt;/xsl:template&gt;
  &lt;xsl:template match="Row"&gt;
      &lt;tr&gt;
          &lt;td&gt; 
              &lt;xsl:value-of select="@Title"/&gt; 
          &lt;/td&gt; 
          &lt;td&gt; 
              &lt;xsl:value-of select="@Status"/&gt; 
          &lt;/td&gt; 
          &lt;td&gt; 
              &lt;xsl:value-of select="@PercentComplete"/&gt; 
          &lt;/td&gt; 
      &lt;/tr&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p></p>
  
  <p>It is only display the headings at the moment. Can someone point out what i am doing wrong?</p>
  
  <p>Thanks in Advance</p>