Link to home
Start Free TrialLog in
Avatar of nsdlsandy
nsdlsandy

asked on

XSLT Transformation

How can I decode this XSLT .. I got it from SharePoint. I need to figure a way to change the styles on this. How can I see the XSLT transformation to see the HTML structure coming out.


<WebPartPages:XsltListViewWebPart runat="server" IsIncluded="True" GhostedXslLink="main.xsl" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="8" Title="News" PageType="PAGE_NORMALVIEW" ListName="{99C9719C-26F7-49E2-A3BA-AE7BF8729937}" Default="FALSE" DisplayName="News" __markuptype="vsattributemarkup" __WebPartId="{2D35C473-8F41-4218-988B-D045653FEB36}" id="g_2d35c473_8f41_4218_988b_d045653feb36" viewcontenttypeid="0x" __designer:customxsl="fldtypes_Ratings.xsl" showwithsampledata="false" chrometype="None" __AllowXSLTEditing="true" WebPart="true" Height="295" Width="410">
  <XmlDefinition>
    <View Name="{865466D5-E4B2-461A-AC0B-3810BAD88714}" MobileView="TRUE" Type="HTML" DisplayName="All items" Url="/Lists/News/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/announce.png">
      <Query>
        <OrderBy>
          <FieldRef Name="Modified" Ascending="FALSE"/>
        </OrderBy>
        <GroupBy>
        </GroupBy>
      </Query>
      <ViewFields>
        <FieldRef Name="LinkTitle"/>
        <FieldRef Name="Modified"/>
        <FieldRef Name="Editor"/>
        <FieldRef Name="Body"/>
        <FieldRef Name="Title" Explicit="TRUE"/>
      </ViewFields>
      <RowLimit Paged="FALSE">2</RowLimit>
      <Toolbar Type="None" ShowAlways=""/>
      <ViewStyle ID="16"/>
    </View>
  </XmlDefinition>
  <xsl>
    <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" ddwrt:ghost="show_all">
      <xsl:include href="/_layouts/xsl/main.xsl"/>
      <xsl:include href="/_layouts/xsl/internal.xsl"/>
      <xsl:param name="AllRows" select="/dsQueryResponse/Rows/Row[$EntityName = '' or (position() &gt;= $FirstRow and position() &lt;= $LastRow)]"/>
      <xsl:param name="dvt_apos">'</xsl:param>
      <xsl:template match="View[ViewStyle/@ID='15' or ViewStyle/@ID='16']" mode="full" ddwrt:ghost="">
        <xsl:variable name="Fields" select="ViewFields/FieldRef[not(@Explicit='TRUE')]"/>
        <xsl:variable name="NumColumns" select="count($Fields[not(@Type='Note' or preceding-sibling::*[@Type='Note'])])"/>
        <xsl:apply-templates select="." mode="RenderView" />
        <xsl:apply-templates mode="footer" select="." />
      </xsl:template>

      <xsl:template name="View_Default_RootTemplate" mode="RootTemplate" match="View" ddwrt:dvt_mode="root" ddwrt:ghost="" xmlns:ddwrt2="urn:frontpage:internal">
        <xsl:param name="ShowSelectAllCheckbox" select="'True'"/>
        <xsl:if test="($IsGhosted = '0' and $MasterVersion=3 and Toolbar[@Type='Standard']) or $ShowAlways">
          <xsl:call-template name="ListViewToolbar"/>
        </xsl:if>
        <table width="100%" cellspacing="0" cellpadding="0" border="0">
          <xsl:if test="not($NoCTX)">
            <xsl:call-template name="CTXGeneration"/>
          </xsl:if>
          <xsl:if test="List/@TemplateType=109">
            <xsl:call-template name="PicLibScriptGeneration"/>
          </xsl:if>
          <tr>
            <td>
              <xsl:if test="not($NoAJAX)">
                <iframe src="javascript:false;" id="FilterIframe{$ViewCounter}" name="FilterIframe{$ViewCounter}" style="display:none" height="0" width="0" FilterLink="{$FilterLink}"></iframe>
              </xsl:if>
              <table summary="{List/@title} {List/@description}" o:WebQuerySourceHref="{$HttpPath}&amp;XMLDATA=1&amp;RowLimit=0&amp;View={$View}" border="0" cellspacing="0" dir="{List/@Direction}">
                <xsl:if test="not($NoCTX)">
                  <xsl:attribute name="onmouseover">
                    EnsureSelectionHandler(event,this,<xsl:value-of select ="$ViewCounter"/>)
                  </xsl:attribute>
                </xsl:if>
                <xsl:if test="$NoAJAX">
                  <xsl:attribute name="FilterLink">
                    <xsl:value-of select="$FilterLink"/>
                  </xsl:attribute>
                </xsl:if>
                <xsl:attribute name="cellpadding">
                  <xsl:choose>
                    <xsl:when test="ViewStyle/@ID='15' or ViewStyle/@ID='16'">0</xsl:when>
                    <xsl:otherwise>1</xsl:otherwise>
                  </xsl:choose>
                </xsl:attribute>
                <xsl:attribute name="id">
                  <xsl:choose>
                    <xsl:when test="$IsDocLib or dvt_RowCount = 0">onetidDoclibViewTbl0</xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="concat($List, '-', $View)"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:attribute>
                <xsl:attribute name="class">
                  <xsl:choose>
                    <xsl:when test="ViewStyle/@ID='0' or ViewStyle/@ID='17'">
                      <xsl:value-of select="$ViewClassName"/> ms-basictable
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:value-of select="$ViewClassName"/>
                    </xsl:otherwise>
                  </xsl:choose>
                </xsl:attribute>
                <xsl:if test="$InlineEdit">
                  <xsl:attribute name="inlineedit">
                    javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('__cancel;dvt_form_key={@ID}')"/>;CoreInvoke('ExpGroupOnPageLoad', 'true');
                  </xsl:attribute>
                </xsl:if>
                <xsl:apply-templates select="." mode="full">
                  <xsl:with-param name="ShowSelectAllCheckbox" select="$ShowSelectAllCheckbox"/>
                </xsl:apply-templates>
              </table>
              <xsl:choose>
                <xsl:when test="$IsDocLib or dvt_RowCount = 0">
                  <script type='text/javascript'>HideListViewRows("onetidDoclibViewTbl0");</script>
                </xsl:when>
                <xsl:otherwise>
                  <script type='text/javascript'>
                    <xsl:value-of select="concat('HideListViewRows(&quot;', $List, '-', $View, '&quot;);')" />
                  </script>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
          <xsl:if test="$dvt_RowCount = 0 and not (@BaseViewID='3' and List/@TemplateType='102')">
            <tr>
              <td>
                <table width="100%" border="0" dir="{List/@Direction}">
                  <xsl:call-template name="EmptyTemplate" />
                </table>
              </td>
            </tr>
          </xsl:if>
        </table>
        <xsl:call-template name="pagingButtons" />
        <xsl:if test="Toolbar[@Type='Freeform'] or ($MasterVersion=4 and Toolbar[@Type='Standard'])">
          <xsl:call-template name="Freeform">
            <xsl:with-param name="AddNewText">
              <xsl:choose>
                <xsl:when test="List/@TemplateType='104'">
                  <xsl:value-of select="'Add new announcement'"/>
                </xsl:when>
                <xsl:when test="List/@TemplateType='101' or List/@TemplateType='115'">
                  <xsl:value-of select="'Add document'"/>
                </xsl:when>
                <xsl:when test="List/@TemplateType='103'">
                  <xsl:value-of select="'Add new link'"/>
                </xsl:when>
                <xsl:when test="List/@TemplateType='106'">
                  <xsl:value-of select="'Add new event'"/>
                </xsl:when>
                <xsl:when test="List/@TemplateType='119'">
                  <xsl:value-of select="'Add new page'"/>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="'Add new item'"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:with-param>
            <xsl:with-param name="ID">
              <xsl:choose>
                <xsl:when test="List/@TemplateType='104'">idHomePageNewAnnouncement</xsl:when>
                <xsl:when test="List/@TemplateType='101'">idHomePageNewDocument</xsl:when>
                <xsl:when test="List/@TemplateType='103'">idHomePageNewLink</xsl:when>
                <xsl:when test="List/@TemplateType='106'">idHomePageNewEvent</xsl:when>
                <xsl:when test="List/@TemplateType='119'">idHomePageNewWikiPage</xsl:when>
                <xsl:otherwise>idHomePageNewItem</xsl:otherwise>
              </xsl:choose>
            </xsl:with-param>
          </xsl:call-template>
        </xsl:if>
      </xsl:template>



      <xsl:template match="/" ddwrt:ghost="hide">
        <xsl:choose>
          <xsl:when test="$RenderCTXOnly='True'">
            <xsl:call-template name="CTXGeneration"/>
          </xsl:when>
          <xsl:when test="($ManualRefresh = 'True')">
            <xsl:call-template name="AjaxWrapper" />
          </xsl:when>
          <xsl:otherwise>
            <xsl:apply-templates mode="RootTemplate" select="$XmlDefinition"/>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template match="View" mode="RenderView" ddwrt:ghost="hide">
        <xsl:variable name="ViewStyleID">
          <xsl:value-of select="ViewStyle/@ID"/>
        </xsl:variable>
        <xsl:variable name="HasExtraColumn" select="$TabularView='1' and $MasterVersion=4 and ($ViewStyleID = '' or $ViewStyleID = '17')"/>
        <xsl:if test="Aggregations[not(@Value='Off')]/FieldRef">
          <tr>
            <xsl:if test="$HasExtraColumn">
              <td/>
            </xsl:if>
            <xsl:if test="$InlineEdit">
              <td width="1%"/>
            </xsl:if >
            <xsl:apply-templates mode="aggregate" select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
              <xsl:with-param name="Rows" select="$AllRows"/>
              <xsl:with-param name="GroupLevel" select="0"/>
            </xsl:apply-templates>
          </tr>
        </xsl:if>
        <xsl:variable name="Fields" select="ViewFields/FieldRef[not(@Explicit='TRUE')]"/>
        <xsl:variable name="Groups" select="Query/GroupBy/FieldRef"/>
        <xsl:variable name="Collapse" select="Query/GroupBy[@Collapse='TRUE']"/>
        <xsl:variable name="GroupCount" select="count($Groups)"/>
        <xsl:for-each select="$AllRows">
          <xsl:variable name="thisNode" select="."/>
          <xsl:if test="$GroupCount &gt; 0">
            <xsl:call-template name="GroupTemplate">
              <xsl:with-param name="Groups" select="$Groups"/>
              <xsl:with-param name="Collapse" select="$Collapse"/>
              <xsl:with-param name="HasExtraColumn" select="$HasExtraColumn"/>
            </xsl:call-template>
          </xsl:if>
          <xsl:if test="not(not($NoAJAX) and not($InlineEdit) and $Collapse and $GroupCount &gt; 0)">
            <xsl:apply-templates mode="Item" select=".">
              <xsl:with-param name="Fields" select="$Fields"/>
              <xsl:with-param name="Collapse" select="$Collapse"/>
              <xsl:with-param name="Position" select="position()"/>
              <xsl:with-param name="Last" select="last()"/>
            </xsl:apply-templates>
          </xsl:if>
        </xsl:for-each>
        <xsl:if test="$InlineEdit and not($IsDocLib) and $ListRight_AddListItems = '1'">
          <xsl:call-template name="rowinsert">
            <xsl:with-param name="Fields" select="$Fields"/>
          </xsl:call-template>
        </xsl:if>
      </xsl:template>
      <xsl:template mode="Item" match="Row[../../@ViewStyleID='15' or ../../@ViewStyleID='16']" ddwrt:ghost="hide">
        <xsl:param name="Fields" select="."/>
        <xsl:param name="Collapse" select="."/>
        <xsl:param name="Position" select="1"/>
        <xsl:param name="Last" select="1"/>
        <xsl:variable name="NumColumns" select="count($Fields[not(@Type='Note' or preceding-sibling::*[@Type='Note'])])"/>
        <xsl:variable name="thisNode" select="."/>
        <xsl:if test="../../@ViewStyleID='15'">
          <tr>
            <td class="ms-newsletterline" colspan="{$NumColumns}">
              <img src="/_layouts/images/blank.gif" width="100%" height="4" alt="" />
            </td>
          </tr>
        </xsl:if>
        <tr>
          <xsl:if test="../../@ViewStyleID='16' and $Position mod 2 = 1">
            <xsl:attribute name="class">ms-alternating ms-newsletteralt</xsl:attribute>
          </xsl:if>
          <xsl:for-each select="$Fields[position() &lt;= $NumColumns]">
            <xsl:apply-templates select="." mode="printTableCellEcbAllowed">
              <xsl:with-param name="thisNode" select="$thisNode"/>
            </xsl:apply-templates>
          </xsl:for-each>
        </tr>
        <xsl:for-each select="$Fields[position() &gt; $NumColumns]">
          <tr>
            <xsl:if test="$thisNode/../../@ViewStyleID='16' and $Position mod 2 = 1">
              <xsl:attribute name="class">ms-alternating ms-newsletteralt</xsl:attribute>
            </xsl:if>
            <td class = "ms-vb-tall" colspan="{$NumColumns}">
              <xsl:if test="not(@Type='Note')">
                <xsl:value-of select="@DisplayName"/>:
              </xsl:if>
              <xsl:choose>
                <xsl:when test="@Type='User'">
                  <xsl:value-of select="$thisNode/@*[name()=concat(current()/@Name, '.span')]" disable-output-escaping="yes"/>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:apply-templates select="." mode="PrintFieldWithDisplayFormLink">
                    <xsl:with-param name="thisNode" select="$thisNode"/>
                  </xsl:apply-templates>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
        </xsl:for-each>
        <xsl:if test="$NumColumns &lt; count($Fields)">
          <tr>
            <xsl:if test="../../@ViewStyleID='16' and $Position mod 2 = 1">
              <xsl:attribute name="class">ms-alternating ms-newsletteralt</xsl:attribute>
            </xsl:if>
            <td colspan="{$NumColumns}">
              <img src="/_layouts/images/blank.gif" width="100%" height="4" alt="" />
            </td>
          </tr>
        </xsl:if>
      </xsl:template>
      <xsl:template name="FieldRef_printTableCell_EcbAllowed.LinkTitle" match="FieldRef[@Name='LinkTitle']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="show">
        <xsl:param name="thisNode" select="."/>
        <xsl:param name="class" />
        <td>
          <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
            <xsl:attribute name="height">100%</xsl:attribute>
            <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
          </xsl:if>
          <xsl:attribute name="class">
            <xsl:call-template name="getTDClassValue">
              <xsl:with-param name="class" select="$class" />
              <xsl:with-param name="Type" select="@Type"/>
              <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
            </xsl:call-template>
          </xsl:attribute>
          <xsl:apply-templates select="." mode="PrintFieldWithECB">
            <xsl:with-param name="thisNode" select="$thisNode"/>
          </xsl:apply-templates>
        </td>
      </xsl:template>

      <xsl:template match="FieldRef[@Name='LinkTitle']" name="LinkTitleNoMenu.LinkTitle" mode="Computed_LinkTitle_body" ddwrt:tag="a" ddwrt:dvt_mode="body" ddwrt:ghost="show">
        <xsl:param name="thisNode" select="."/>
        <xsl:param name="ShowAccessibleIcon" select="0"/>
        <xsl:param name="folderUrlAdditionalQueryString" select="''"/>
        <xsl:variable name="ID">
          <xsl:call-template name="ResolveId">
            <xsl:with-param name="thisNode" select ="$thisNode"/>
          </xsl:call-template>
        </xsl:variable>
        <xsl:choose>
          <xsl:when test="$thisNode/@FSObjType='1'">
            <xsl:call-template name="LinkFilenameNoMenu">
              <xsl:with-param name="thisNode" select="$thisNode"/>
              <xsl:with-param name="folderUrlAdditionalQueryString" select="$folderUrlAdditionalQueryString"/>
            </xsl:call-template>
          </xsl:when>
          <xsl:otherwise>
            <xsl:choose>
              <xsl:when test="$XmlDefinition/List/@TemplateType != 301">
                <a onfocus="OnLink(this)" href="{$FORM_DISPLAY}&amp;ID={$ID}&amp;ContentTypeID={$thisNode/@ContentTypeId}" onclick="EditLink2(this,{$ViewCounter});return false;" target="_self">
                  <xsl:call-template name="LinkTitleValue.LinkTitle">
                    <xsl:with-param name="thisNode" select="$thisNode"/>
                    <xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
                  </xsl:call-template>
                </a>
              </xsl:when>
              <xsl:otherwise>
                <a onfocus="OnLink(this)" href="{$FORM_DISPLAY}&amp;ID={$ID}" onclick="GoToLink(this);return false;" target="_self">
                  <xsl:call-template name="LinkTitleValue.LinkTitle">
                    <xsl:with-param name="thisNode" select="$thisNode"/>
                    <xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
                  </xsl:call-template>
                </a>
              </xsl:otherwise>
            </xsl:choose>
            <xsl:if test="$thisNode/@Created_x0020_Date.ifnew='1'">
              <xsl:call-template name="NewGif.LinkTitle">
                <xsl:with-param name="thisNode" select="$thisNode"/>
              </xsl:call-template>
            </xsl:if>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

      <xsl:template name="LinkTitleValue.LinkTitle" ddwrt:dvt_mode="body" ddwrt:ghost="show">
        <xsl:param name="thisNode" select="."/>
        <xsl:param name="ShowAccessibleIcon" select="0"/>
        <xsl:variable name="titlevalue" select="$thisNode/@Title"/>
        <xsl:choose>
          <xsl:when test="$titlevalue=''">
            <xsl:value-of select="'(no title)'"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:choose>
              <xsl:when test="$HasTitleField">
                <xsl:value-of disable-output-escaping="yes" select="$titlevalue" />
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="$titlevalue" />
              </xsl:otherwise>
            </xsl:choose>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:choose>
          <xsl:when test="$ShowAccessibleIcon">
            <img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="{$idPresEnabled}" />
          </xsl:when>
          <xsl:otherwise></xsl:otherwise>
        </xsl:choose>
      </xsl:template>

      <xsl:template name="NewGif.LinkTitle" ddwrt:dvt_mode="body" ddwrt:ghost="show">
        <xsl:param name="thisNode" select="."/>
        <img src="/_layouts/{$LCID}/images/new.gif" alt="{$NewGifAltString}" title="{$NewGifAltString}" class="ms-newgif" />
      </xsl:template>

      <xsl:template name="FieldRef_printTableCell_EcbAllowed.Modified" match="FieldRef[@Name='Modified']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <xsl:param name="class" />
        <td>
          <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
            <xsl:attribute name="height">100%</xsl:attribute>
            <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
          </xsl:if>
          <xsl:attribute name="class">
            <xsl:call-template name="getTDClassValue">
              <xsl:with-param name="class" select="$class" />
              <xsl:with-param name="Type" select="@Type"/>
              <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
            </xsl:call-template>
          </xsl:attribute>
          <xsl:apply-templates select="." mode="PrintFieldWithECB">
            <xsl:with-param name="thisNode" select="$thisNode"/>
          </xsl:apply-templates>
        </td>
      </xsl:template>
      <xsl:template name="FieldRef_DateTime_body.Modified" ddwrt:dvt_mode="body" match ="FieldRef[@Name='Modified']" mode="DateTime_body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <xsl:choose>
          <xsl:when test="$FreeForm">
            <xsl:call-template name="FieldRef_ValueOf.Modified">
              <xsl:with-param name="thisNode" select="$thisNode"/>
            </xsl:call-template>
          </xsl:when>
          <xsl:otherwise>
            <nobr>
              <xsl:call-template name="FieldRef_ValueOf.Modified">
                <xsl:with-param name="thisNode" select="$thisNode"/>
              </xsl:call-template>
            </nobr>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="FieldRef_ValueOf.Modified" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <xsl:value-of select="$thisNode/@*[name()=current()/@Name]"/>
      </xsl:template>
      <xsl:template name="FieldRef_printTableCell_EcbAllowed.Editor" match="FieldRef[@Name='Editor']" mode="printTableCellEcbAllowed" ddwrt:dvt_mode="body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <xsl:param name="class" />
        <td>
          <xsl:if test="@ClassInfo='Menu' or @ListItemMenu='TRUE'">
            <xsl:attribute name="height">100%</xsl:attribute>
            <xsl:attribute name="onmouseover">OnChildItem(this)</xsl:attribute>
          </xsl:if>
          <xsl:attribute name="class">
            <xsl:call-template name="getTDClassValue">
              <xsl:with-param name="class" select="$class" />
              <xsl:with-param name="Type" select="@Type"/>
              <xsl:with-param name="ClassInfo" select="@ClassInfo"/>
            </xsl:call-template>
          </xsl:attribute>
          <xsl:apply-templates select="." mode="PrintFieldWithECB">
            <xsl:with-param name="thisNode" select="$thisNode"/>
          </xsl:apply-templates>
        </td>
      </xsl:template>
      <xsl:template name="FieldRef_User_body.Editor" ddwrt:dvt_mode="body" match="FieldRef[@Name='Editor']" mode="User_body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <xsl:value-of disable-output-escaping="yes" select="$thisNode/@*[name()=current()/@Name]" />
      </xsl:template>
      <xsl:template name="FieldRef_Note_body.Body" ddwrt:dvt_mode="body" match="FieldRef[@Name='Body']" mode="Note_body" ddwrt:ghost="hide">
        <xsl:param name="thisNode" select="."/>
        <div dir="{@Direction}" class="ms-rtestate-field">
          <xsl:value-of select="$thisNode/@*[name()=current()/@Name]" disable-output-escaping="yes"/>
        </div>
      </xsl:template>
      <xsl:template match="View" mode="footer" ddwrt:ghost="hide">
      </xsl:template>
      <xsl:template name="pagingButtons" ddwrt:ghost="hide">
        <xsl:choose>
          <xsl:when test="$XmlDefinition/List/@TemplateType = 106 and $XmlDefinition/@RecurrenceRowset='TRUE'">
            <xsl:if test="$dvt_nextpagedata or $dvt_prevpagedata">
              <xsl:call-template name="CalendarExpandedRecurrenceFooter"/>
            </xsl:if>
          </xsl:when>
          <xsl:otherwise>
            <xsl:if test="$XmlDefinition/RowLimit[@Paged='TRUE']">
              <xsl:call-template name="CommandFooter">
                <xsl:with-param name="FirstRow" select="$FirstRow" />
                <xsl:with-param name="LastRow" select="$LastRow" />
                <xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
              </xsl:call-template>
            </xsl:if>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>

    </xsl:stylesheet>
  </xsl>
  <parameterbindings>
    <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
    <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
    <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
    <ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)"/>
    <ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)"/>
    <ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)"/>
    <ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)"/>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)"/>
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(core,noXinviewofY_DEFAULT)"/>
    <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)"/>
    <ParameterBinding Name="MoreAnnouncements" Location="Resource(wss,moreItemsParen)"/>
  </parameterbindings>
</WebPartPages:XsltListViewWebPart>

ASKER CERTIFIED SOLUTION
Avatar of graye
graye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nsdlsandy
nsdlsandy

ASKER

Thanks