DataView WebPart

<?xml version="1.0" encoding="utf-8" ?>

<webParts>
  <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
      <type name="Microsoft.SharePoint.WebPartPages.DataFormWebPart, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <importErrorMessage>Cannot import this Web Part.</importErrorMessage>
    </metaData>
    <data>
      <properties>
        <property name="InitialAsyncDataFetch" type="bool">False</property>
        <property name="ChromeType" type="chrometype">Default</property>
        <property name="Title" type="string">Magic View</property>
        <property name="Height" type="string" />
        <property name="CacheXslStorage" type="bool">True</property>
        <property name="XslLink" type="string" null="true" />
        <property name="AllowZoneChange" type="bool">True</property>
        <property name="AllowEdit" type="bool">True</property>
        <property name="XmlDefinitionLink" type="string" />
        <property name="DataFields" type="string">@Title,Title;</property>
        <property name="AutoRefreshInterval" type="int">60</property>
        <property name="NoDefaultStyle" type="string">TRUE</property>
        <property name="ListDisplayName" type="string" />
        <property name="AutoRefresh" type="bool">False</property>
        <property name="ViewFlag" type="string">8</property>
        <property name="ListUrl" type="string" />
        <property name="AllowConnect" type="bool">True</property>
        <property name="Description" type="string" />
        <property name="AllowClose" type="bool">True</property>
        <property name="ShowWithSampleData" type="bool">False</property>
        <property name="ParameterBindings" type="string">
          <ParameterBinding Name="ListID" Location="None" DefaultValue="{670BE016-821B-4348-98BC-53C13C4447AB}"/>
          <ParameterBinding Name="dvt_apos" Location="Postback;Connection"/>
          <ParameterBinding Name="ManualRefresh" Location="WPProperty[ManualRefresh]"/>
          <ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
          <ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>
          <ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
          <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
          <ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection"/>
        </property>
        <property name="Xsl" type="string">
          <![CDATA[
          <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">
              <xsl:output method="html" indent="no"/>
              <xsl:decimal-format NaN=""/>
              <xsl:param name="dvt_apos">'</xsl:param>
              <xsl:param name="ManualRefresh"></xsl:param>
              <xsl:param name="dvt_firstrow">1</xsl:param>
              <xsl:param name="dvt_nextpagedata" />
              <xsl:variable name="dvt_1_automode">0</xsl:variable>
              <xsl:template match="/">
                  <xsl:variable name="dvt_StyleName">RepForm3</xsl:variable>
                  <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
                  <xsl:variable name="dvt_RowCount" select="count($Rows)"/>
                  <xsl:variable name="RowLimit" select="1" />
                  <xsl:variable name="FirstRow" select="$dvt_firstrow" />
                  <xsl:variable name="LastRow" select="$FirstRow + $dvt_RowCount - 1" />
                  <xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" />
                  <xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0"/>
                  <xsl:value-of select="$dvt_RowCount"/>
              </xsl:template>
          </xsl:stylesheet>
          ]]>
        </property>
        <property name="CacheXslTimeOut" type="int">86400</property>
        <property name="Hidden" type="bool">False</property>
        <property name="ListName" type="string">{670BE016-821B-4348-98BC-53C13C4447AB}</property>
        <property name="DataSourceID" type="string" />
        <property name="FireInitialRow" type="bool">True</property>
        <property name="ManualRefresh" type="bool">False</property>
        <property name="ViewFlags" type="Microsoft.SharePoint.SPViewFlags, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Hidden</property>
        <property name="ChromeState" type="chromestate">Normal</property>
        <property name="AllowHide" type="bool">True</property>
        <property name="PageSize" type="int">1</property>
        <property name="SampleData" type="string" null="true" />
        <property name="AsyncRefresh" type="bool">False</property>
        <property name="HelpMode" type="helpmode">Modeless</property>
        <property name="ListId" type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">670be016-821b-4348-98bc-53c13c4447ab</property>
        <property name="UseSQLDataSourcePaging" type="bool">True</property>
        <property name="AllowMinimize" type="bool">True</property>
        <property name="TitleUrl" type="string" />
        <property name="CatalogIconImageUrl" type="string" />
        <property name="DataSourcesString" type="string">
          <%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register TagPrefix="cc2" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><cc1:SPDataSource runat="server" Scope="RecursiveAll" UseInternalName="True" SelectCommand="&lt;View&gt;&lt;Query&gt;&lt;Where&gt;&lt;Geq&gt;&lt;FieldRef Name=&quot;Title&quot;/&gt;&lt;Value Type=&quot;Text&quot;&gt;1&lt;/Value&gt;&lt;/Geq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;ViewFields&gt;&lt;FieldRef Name=&quot;Title&quot;/&gt;&lt;FieldRef Name=&quot;PermMask&quot;/&gt;&lt;/ViewFields&gt;&lt;/View&gt;" ID="spdatasource2" InsertCommand="" UseServerDataFormat="True" DataSourceMode="List" UpdateCommand="" DeleteCommand=""><UpdateParameters>
          <cc2:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{670BE016-821B-4348-98BC-53C13C4447AB}" Name="ListID"></cc2:DataFormParameter>
          </UpdateParameters>
          <InsertParameters>
          <cc2:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{670BE016-821B-4348-98BC-53C13C4447AB}" Name="ListID"></cc2:DataFormParameter>
          </InsertParameters>
          <DeleteParameters>
          <cc2:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{670BE016-821B-4348-98BC-53C13C4447AB}" Name="ListID"></cc2:DataFormParameter>
          </DeleteParameters>
          <SelectParameters>
          <cc2:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{670BE016-821B-4348-98BC-53C13C4447AB}" Name="ListID"></cc2:DataFormParameter>
          <asp:Parameter DefaultValue="0" Name="StartRowIndex"></asp:Parameter>
          <asp:Parameter DefaultValue="0" Name="nextpagedata"></asp:Parameter>
          <asp:Parameter DefaultValue="0" Name="MaximumRows"></asp:Parameter>
          </SelectParameters>
          </cc1:SPDataSource>
        </property>
        <property name="DisplayName" type="string" />
        <property name="PageType" type="Microsoft.SharePoint.PAGETYPE, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">PAGE_NORMALVIEW</property>
        <property name="Width" type="string" />
        <property name="ExportMode" type="exportmode">All</property>
        <property name="Direction" type="direction">NotSet</property>
        <property name="ViewContentTypeId" type="string" />
        <property name="HelpUrl" type="string" />
        <property name="XmlDefinition" type="string" />
        <property name="Default" type="string" />
        <property name="TitleIconImageUrl" type="string" />
        <property name="MissingAssembly" type="string">Cannot import this Web Part.</property>
      </properties>
    </data>
  </webPart>
</webParts>
posted @ 2011-04-13 18:28  一只老鼠  阅读(184)  评论(0编辑  收藏  举报