Skip Ribbon Commands
Skip to main content

Colorado SharePoint Users Group (COSPUG)

:

InfoPath & SharePoint Designer:Error Message :FlatUse SHIFT+ENTER to open the menu (new window).Open MenuOpen Menu

Please feel free to ask your InfoPath and SharePoint Designer questions here for both 2007 and 2010.  Clayton Cobb will be here to answer them or ensure they get answered...
  
Post
Started: 7/14/2010 10:31 AM
Picture Placeholder:
Error Message
Hello guys,
 
I was using SP Designer 2007.  This is a copy of a page that was working perfectly, took a look at the code and now get the following error:
 
This Webpart does not have a valid XSLT Stylesheet;
Error: End tag 'select' does not match the start tag 'option'
 
I've looked at the code a million times and I can't see anything wrong with it.  I went through all my select and option and don't see any problem.  Could I please have a fresh set of eyes scan for any bad select tags or option tags.  Sorry for the request.
 
 
 
 
 
 
 
 
 
<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
 <SharePoint:ListProperty Property="Title" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
 <SharePoint:ListProperty Property="Title" runat="server"/>
</asp:Content>
<asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
 <SharePoint:RssLink runat="server"/>
</asp:content>
<asp:Content ContentPlaceHolderId="PlaceHolderSearchArea" runat="server">
 <SharePoint:DelegateControl runat="server"
  ControlId="SmallSearchInputBox"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
 <SharePoint:ViewIcon Width="145" Height="54" runat="server"/></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
<SharePoint:ModifySettingsLink runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
 <div height=100% class="ms-pagemargin"><IMG SRC="/_layouts/images/blank.gif" width=6 height=1 alt=""></div>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
  <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
  <WebPartPages:DataFormWebPart runat="server" ShowWithSampleData="False" AllowRemove="True" AllowHide="True" SuppressWebPartChrome="False" PartImageLarge="" ViewContentTypeId="0x" TitleUrl="/EmpPhotos/Forms/AllItems.aspx" ExportMode="All" Dir="Default" DisplayName="Thumbnails" MissingAssembly="Cannot import this Web Part." ID="g_32dcfef9_b329_4da3_a902_665ea7202cea" DataSourceID="" IsIncludedFilter="" DetailLink="/EmpPhotos/Forms/AllItems.aspx" AllowEdit="True" UseSQLDataSourcePaging="True" HelpMode="Modeless" IsIncluded="True" Description="Photo gallery" NoDefaultStyle="TRUE" FrameState="Normal" AllowConnect="True" ViewFlag="1" AllowZoneChange="True" AllowMinimize="True" Title="EmpPhotos" PartOrder="1" PageSize="100" ListName="{18F32369-370F-49C8-8C23-F240F529895F}" FrameType="Default" HelpLink="" PartImageSmall="" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" IsVisible="True" __MarkupType="vsattributemarkup" __WebPartId="{32DCFEF9-B329-4DA3-A902-665EA7202CEA}" __AllowXSLTEditing="true" WebPart="true" Height="" Width="833px"><ParameterBindings>
   <ParameterBinding Name="PageUrl" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="PagePath" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="HttpHost" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="HttpPath" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="List" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="URL_Display" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="HttpVDir" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="View" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="FilterLink" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="Language" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_adhocmode" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_fieldsort" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_filterfield" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_firstrow" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_p2plinkfields" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_nextpagedata" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_sorttype" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="dvt_apos" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="filterParam" Location="Postback;Connection"/>
   <ParameterBinding Name="ImagesPath" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="ListUrlDir" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="EMail" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="Userid" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="URL_DISPLAY" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="URL_EDIT" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="WebQueryInfo" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="URL_Edit" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="URL_Lookup" Location="Postback;Connection;CAMLVariable"/>
   <ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
   <ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>
   <ParameterBinding Name="dvt_filterfields" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_partguid" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_groupfield" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_adhocfiltermode" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_filtertype" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_filterval" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_groupdir" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_groupdisplay" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_groupsorttype" Location="Postback;Connection"/>
   <ParameterBinding Name="dvt_grouptype" Location="Postback;Connection"/>
  </ParameterBindings>
<DataFields>@FileLeafRef,Name (for use in forms);@Title,Full Name;@ImageWidth,Picture Width;@ImageHeight,Picture Height;@ContentType,Content Type;@CRBC_x0020_Departments,CRBC Departments;@RUF,RUF;@ManagersName,Manager&apos;s Name;@WorkPhone,Business Phone;@PersonalWebsite,MySite;@FirstName,First Name;@_Photo,Contact Photo;@EmployeeStatus,EmployeeStatus;@LastNamePhonetic,Last-Name;@Employee_x0020_ID,Employee ID;@Vehicle,Vehicle;@Job_x002d_Title,JobTitle;@ID,ID;@Created,Created;@Author,Created By;@Modified,Modified;@Editor,Modified By;@_CopySource,Copy Source;@CheckoutUser,Checked Out To;@_CheckinComment,Check In Comment;@CheckedOutTitle,Checked Out To;@CheckedOutUserId,ID of the User who has the item Checked Out;@FileDirRef,Path;@FSObjType,Item Type;@HTML_x0020_File_x0020_Type,HTML File Type;@File_x0020_Type,File Type;@IsCheckedoutToLocal,Is Checked out to local;@_SourceUrl,Source Url;@_HasCopyDestinations,Has Copy Destinations;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;@File_x0020_Size,File Size;@_UIVersionString,Version;@ParentVersionString,Source Version (Converted Document);@ParentLeafName,Source Name (Converted Document);@TemplateUrl,Template Link;</DataFields>
<DataSources>
<SharePoint:SPDataSource runat="server" DataSourceMode="List" SelectCommand="&lt;View&gt;&lt;Query&gt;&lt;Where&gt;&lt;And&gt;&lt;IsNotNull&gt;&lt;FieldRef Name=&quot;CRBC_x0020_Departments&quot;/&gt;&lt;/IsNotNull&gt;&lt;Eq&gt;&lt;FieldRef Name=&quot;EmployeeStatus&quot;/&gt;&lt;Value Type=&quot;Text&quot;&gt;Active&lt;/Value&gt;&lt;/Eq&gt;&lt;/And&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;/View&gt;" UseInternalName="True" IncludeHidden="True" ID="datasource1"><SelectParameters><asp:Parameter DefaultValue="{18F32369-370F-49C8-8C23-F240F529895F}" Name="ListID"></asp:Parameter>
</SelectParameters><UpdateParameters><asp:Parameter DefaultValue="{18F32369-370F-49C8-8C23-F240F529895F}" Name="ListID"></asp:Parameter>
</UpdateParameters><InsertParameters><asp:Parameter DefaultValue="{18F32369-370F-49C8-8C23-F240F529895F}" Name="ListID"></asp:Parameter>
</InsertParameters><DeleteParameters><asp:Parameter DefaultValue="{18F32369-370F-49C8-8C23-F240F529895F}" Name="ListID"></asp:Parameter>
</DeleteParameters>
</SharePoint:SPDataSource>
</DataSources>
<Xsl>

 
 
 

<xsl:stylesheet version="1.0" exclude-result-prefixes="rs z o s ddwrt dt msxsl" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:o="urn:schemas-microsoft-com:office" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:ddwrt2="urn:frontpage:internal"><xsl:output method="html" indent="no" /><xsl:decimal-format NaN="" />
 <xsl:param name="PageUrl" />
 <xsl:param name="PagePath" />
 <xsl:param name="HttpHost" />
 <xsl:param name="HttpPath" />
 <xsl:param name="List" />
 <xsl:param name="URL_Display" />
 <xsl:param name="HttpVDir" />
 <xsl:param name="View" />
 <xsl:param name="FilterLink" select="ddwrt:FilterLink()" />
 <xsl:param name="Language">1033</xsl:param>
 <xsl:param name="dvt_adhocmode"></xsl:param>
 <xsl:param name="dvt_fieldsort"></xsl:param>
 <xsl:param name="dvt_sortfield"></xsl:param>
 <xsl:param name="dvt_sortdir">ascending</xsl:param>
 <xsl:param name="dvt_filterfield"></xsl:param>
 <xsl:param name="dvt_firstrow">1</xsl:param>
 <xsl:param name="dvt_p2plinkfields"></xsl:param>
 <xsl:param name="dvt_nextpagedata"></xsl:param>
 <xsl:param name="dvt_sorttype">text</xsl:param>
 <xsl:param name="dvt_apos">&apos;</xsl:param>
 <xsl:param name="filterParam" ddwrt:NoCAMLVariable="1"></xsl:param>
 <xsl:param name="ImagesPath"></xsl:param>
 <xsl:param name="ListUrlDir"></xsl:param>
 <xsl:param name="EMail">EMail</xsl:param>
 <xsl:param name="Userid"></xsl:param>
 <xsl:variable name="dvt_1_automode">0</xsl:variable>
 <xsl:param name="URL_DISPLAY" />
 <xsl:param name="URL_EDIT" />
 <xsl:param name="WebQueryInfo" />
 <xsl:variable name="curStringIDA1V1QG" select="ddwrt:GetVar('Columns')"></xsl:variable>
 <xsl:variable name="LengthIDA1V1QG" select="string-length($curStringIDA1V1QG)" />
 <xsl:variable name="IDAOX1QG">
  <xsl:choose>
   <xsl:when test="ddwrt:GetVar('ClassInfo')='Menu'">ms-vb-title&quot; height=&quot;100%</xsl:when>
   <xsl:when test="ddwrt:GetVar('ClassInfo')='Icon'"></xsl:when>
   <xsl:otherwise>ms-vb2</xsl:otherwise>
  </xsl:choose>
 </xsl:variable>
 <xsl:param name="URL_Edit" />
 <xsl:param name="URL_Lookup" />
 <xsl:param name="dvt_filterfields" />
 <xsl:param name="dvt_partguid" />
 <xsl:param name="dvt_groupfield" />
 <xsl:param name="dvt_adhocfiltermode">xsl</xsl:param>
 <xsl:param name="dvt_filtertype" />
 <xsl:param name="dvt_filterval" />
 <xsl:param name="dvt_groupdir">ascending</xsl:param>
 <xsl:param name="dvt_groupdisplay" />
 <xsl:param name="dvt_groupsorttype">text</xsl:param>
 <xsl:param name="dvt_grouptype" />
 <xsl:template match="/" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:asp="http://schemas.microsoft.com/ASPNET/20">
  <xsl:call-template name="dvt_1" />
 </xsl:template>
 
 
 
 <xsl:template name="dvt_1">
  <xsl:variable name="dvt_StyleName">Table</xsl:variable>
  <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" />
  <xsl:variable name="dvt_FieldNameNoAtSign" select="substring-after($dvt_filterfield, '@')" />
  <xsl:variable name="dvt_FilteredRowsText" select="$Rows[.=$dvt_filterval or ($dvt_filtertype='date' and substring-before($dvt_filterval,'T') = substring-before(.,'T'))]" />
  <xsl:variable name="dvt_FilteredRows" select="$Rows[normalize-space(*[name()=$dvt_filterfield])=$dvt_filterval or ($dvt_filtertype='date' and substring-before($dvt_filterval,'T') = substring-before(normalize-space(*[name()=$dvt_filterfield]),'T'))]" />
  <xsl:variable name="dvt_FilteredRowsAttr" select="$Rows[normalize-space(@*[name()=$dvt_FieldNameNoAtSign])=$dvt_filterval or ($dvt_filtertype='date' and substring-before($dvt_filterval,'T') = substring-before(normalize-space(@*[name()=$dvt_FieldNameNoAtSign]),'T'))]" />
  <xsl:variable name="dvt_RowCount" >
  <xsl:choose>
   <xsl:when test="$dvt_adhocfiltermode != 'query' and $dvt_filterfield">
    <xsl:choose>
     <xsl:when test="starts-with($dvt_filterfield, '@')"><xsl:value-of select="count($dvt_FilteredRowsAttr)" /></xsl:when>
     <xsl:when test="$dvt_filterfield = '.'"><xsl:value-of select="count($dvt_FilteredRowsText)" /></xsl:when>
     <xsl:otherwise><xsl:value-of select="count($dvt_FilteredRows)" /></xsl:otherwise>
    </xsl:choose>
   </xsl:when>
   <xsl:otherwise><xsl:value-of select="count($Rows)" /></xsl:otherwise>
  </xsl:choose>
  </xsl:variable>
  
  <xsl:variable name="RowLimit">100</xsl:variable>
  <xsl:variable name="FirstRow" select="$dvt_firstrow" />
  <xsl:variable name="LastRow" >
  <xsl:choose>
   <xsl:when test="($FirstRow + $RowLimit - 1) &gt; $dvt_RowCount"><xsl:value-of select="$dvt_RowCount" /></xsl:when>
   <xsl:otherwise><xsl:value-of select="$FirstRow + $RowLimit - 1" /></xsl:otherwise>
  </xsl:choose>
  </xsl:variable>
  
  <xsl:variable name="IsEmpty" select="$dvt_RowCount = 0 or $RowLimit = 0" />
  
  <xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0" />
  <xsl:call-template name="dvt_1.listviewtoolbar" />
  <xsl:call-template name="dvt_1.toolbar">
   <xsl:with-param name="Rows" select="$Rows" />
  </xsl:call-template>
  <xsl:choose>
   <xsl:when test="$dvt_IsEmpty">
    <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;
ctx = new ContextInfo();
ctx.listBaseType = </xsl:text>
    <xsl:value-of select="ddwrt:ListProperty('BaseType')" />
    ;
ctx.listTemplate = <xsl:value-of select="ddwrt:ListProperty('ServerTemplate')" />;
ctx.listName = &quot;<xsl:value-of select="$List" />&quot;;
ctx.view = &quot;<xsl:value-of select="ddwrt:GetVar('View')" />&quot;;
ctx.listUrlDir = &quot;<xsl:value-of select="$ListUrlDir" />&quot;;
ctx.HttpPath = &quot;<xsl:value-of select="$HttpPath" />&quot;;
ctx.HttpRoot = &quot;<xsl:value-of select="$HttpVDir" />&quot;;
ctx.imagesPath = &quot;/_layouts/images/&quot;;
ctx.PortalUrl = &quot;web&quot;;
ctx.SendToLocationName = &quot;<xsl:value-of select="ddwrt:ListProperty('SendToLocationName')" />&quot;;
ctx.SendToLocationUrl = &quot;<xsl:value-of select="ddwrt:ListProperty('SendToLocationUrl')" />&quot;;
ctx.RecycleBinEnabled = <xsl:value-of select="1" />;
ctx.OfficialFileName = &quot;&quot;;
ctx.WriteSecurity = &quot;<xsl:value-of select="ddwrt:ListProperty('WriteSecurity')" />&quot;;
ctx.SiteTitle = &quot;web&quot;;
ctx.ListTitle = &quot;<xsl:value-of select="ddwrt:ListProperty('Title')" />&quot;;
if (ctx.PortalUrl == &quot;&quot;) ctx.PortalUrl = null;
ctx.displayFormUrl = &quot;<xsl:value-of select="$URL_DISPLAY" />&quot;;
ctx.editFormUrl = &quot;<xsl:value-of select="$URL_EDIT" />&quot;;
ctx.isWebEditorPreview =
    <xsl:choose>
     <xsl:when test="ddwrt:GetVar('WebEditorPreview')='TRUE'">1</xsl:when>
     <xsl:otherwise>0</xsl:otherwise>
    </xsl:choose>
    ;
ctx.ctxId = 28141;
g_ViewIdToViewCounterMap[ &quot;<xsl:value-of select="ddwrt:GetVar('View')" />&quot; ]= 28141;
ctx.CurrentUserId = <xsl:value-of select="$Userid" />;
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('ModeratedList')='1'">
ctx.isModerated = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('ForceCheckout')='1'">
ctx.isForceCheckout = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('EnableMinorVersions')='1'">
ctx.EnableMinorVersions = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('VersioningEnabled')='1'">
ctx.verEnabled = 1;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:GetVar('RecursiveView')='1'">
ctx.recursiveView = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('WorkflowsAssociated')='1'">
ctx.WorkflowsAssociated = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('EnableContentTypes')='1'">
ctx.ContentTypesEnabled = true;
</xsl:when>
    </xsl:choose>
    
ctx28141
    <xsl:text disable-output-escaping="yes"> = ctx;
&lt;/SCRIPT&gt;</xsl:text>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('Direction')='ltr'">
      <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;FixTextAlignForBidi(&quot;left&quot;);&lt;/SCRIPT&gt;</xsl:text>
     </xsl:when>
     <xsl:when test="ddwrt:ListProperty('Direction')='rtl'">
      <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;FixTextAlignForBidi(&quot;right&quot;);&lt;/SCRIPT&gt;</xsl:text>
     </xsl:when>
    </xsl:choose>
    <TABLE ID="onetidDoclibViewTbl0" Summary="{ddwrt:ListProperty('Title')}" width="100%" border="0" dir="{ddwrt:ListProperty('Direction')}"><TR class="ms-viewheadertr"><IFRAME src="javascript:false;" id="FilterIframe28141" name="FilterIframe28141" style="display:none" height="0" width="0" title="Hidden frame to filter list" FilterLink="{$FilterLink}"></IFRAME><!--LinkFilenameNoMenu--><!--Name--><TH nowrap="" scope="col" class="ms-vh2">
     <xsl:variable name="IDANLWVH"></xsl:variable>
     <xsl:variable name="IDAGRWVH"></xsl:variable>
     <xsl:choose>
      <xsl:when test="'TRUE'='TRUE'">Name</xsl:when>
     </xsl:choose>
     </TH></TR></TABLE>
    <TABLE width="100%" border="0"><TR>
     <xsl:choose>
      <xsl:when test="ddwrt:GetVar('SearchString')=''"><TD Class="ms-vb"> There are no items to show in this view of the &quot;<xsl:value-of select="ddwrt:ListProperty('Title')" />&quot; list.  To create a new item, click &quot;New item&quot; above.</TD></xsl:when>
     </xsl:choose>
     </TR></TABLE>
   </xsl:when>
   <xsl:otherwise><TABLE cellspacing="0" cellpadding="0" border="0" style="width: 100%">
    <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;
ctx = new ContextInfo();
ctx.listBaseType = </xsl:text>
    <xsl:value-of select="ddwrt:ListProperty('BaseType')" />
    ;
ctx.listTemplate = <xsl:value-of select="ddwrt:ListProperty('ServerTemplate')" />;
ctx.listName = &quot;<xsl:value-of select="$List" />&quot;;
ctx.view = &quot;<xsl:value-of select="ddwrt:GetVar('View')" />&quot;;
ctx.listUrlDir = &quot;<xsl:value-of select="$ListUrlDir" />&quot;;
ctx.HttpPath = &quot;<xsl:value-of select="$HttpPath" />&quot;;
ctx.HttpRoot = &quot;<xsl:value-of select="$HttpVDir" />&quot;;
ctx.imagesPath = &quot;/_layouts/images/&quot;;
ctx.PortalUrl = &quot;web&quot;;
ctx.SendToLocationName = &quot;<xsl:value-of select="ddwrt:ListProperty('SendToLocationName')" />&quot;;
ctx.SendToLocationUrl = &quot;<xsl:value-of select="ddwrt:ListProperty('SendToLocationUrl')" />&quot;;
ctx.RecycleBinEnabled = <xsl:value-of select="1" />;
ctx.OfficialFileName = &quot;&quot;;
ctx.WriteSecurity = &quot;<xsl:value-of select="ddwrt:ListProperty('WriteSecurity')" />&quot;;
ctx.SiteTitle = &quot;web&quot;;
ctx.ListTitle = &quot;<xsl:value-of select="ddwrt:ListProperty('Title')" />&quot;;
if (ctx.PortalUrl == &quot;&quot;) ctx.PortalUrl = null;
ctx.displayFormUrl = &quot;<xsl:value-of select="$URL_DISPLAY" />&quot;;
ctx.editFormUrl = &quot;<xsl:value-of select="$URL_EDIT" />&quot;;
ctx.isWebEditorPreview =
    <xsl:choose>
     <xsl:when test="ddwrt:GetVar('WebEditorPreview')='TRUE'">1</xsl:when>
     <xsl:otherwise>0</xsl:otherwise>
    </xsl:choose>
    
    
    
    ;
ctx.ctxId = 28141;
g_ViewIdToViewCounterMap[ &quot;<xsl:value-of select="ddwrt:GetVar('View')" />&quot; ]= 28141;
ctx.CurrentUserId = <xsl:value-of select="$Userid" />;
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('ModeratedList')='1'">
ctx.isModerated = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('ForceCheckout')='1'">
ctx.isForceCheckout = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('EnableMinorVersions')='1'">
ctx.EnableMinorVersions = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('VersioningEnabled')='1'">
ctx.verEnabled = 1;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:GetVar('RecursiveView')='1'">
ctx.recursiveView = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('WorkflowsAssociated')='1'">
ctx.WorkflowsAssociated = true;
</xsl:when>
    </xsl:choose>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('EnableContentTypes')='1'">
ctx.ContentTypesEnabled = true;
</xsl:when>
    </xsl:choose>
    
    
    
    
    
    
    
ctx28141
    <xsl:text disable-output-escaping="yes"> = ctx;
&lt;/SCRIPT&gt;</xsl:text>
    <xsl:choose>
     <xsl:when test="ddwrt:ListProperty('Direction')='ltr'">
      <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;FixTextAlignForBidi(&quot;left&quot;);&lt;/SCRIPT&gt;</xsl:text>
     </xsl:when>
     <xsl:when test="ddwrt:ListProperty('Direction')='rtl'">
      <xsl:text disable-output-escaping="yes">&lt;SCRIPT&gt;FixTextAlignForBidi(&quot;right&quot;);&lt;/SCRIPT&gt;</xsl:text>
     </xsl:when>
    </xsl:choose>
    <tr><td><TABLE ID="{$List}-{$View}" xmlns:o="urn:schemas-microsoft-com:office:office" o:WebQuerySourceHref="{$HttpPath}&amp;XMLDATA=1&amp;RowLimit=0&amp;View={$View}" class="ms-listviewtable" border="0" cellspacing="0" cellpadding="0" dir="{ddwrt:ListProperty('Direction')}" style="width: 100%; height: 254px;"><TR class="ms-viewheadertr" VALIGN="TOP"><IFRAME src="javascript:false;" id="I1" name="I1" style="display:none" height="0" width="0" title="Hidden frame to filter list" FilterLink="{$FilterLink}"></IFRAME>
     <xsl:variable name="VarIDARC1QG" select="ddwrt:SetVar('ColsOrBody', 'Cols')" />
     <xsl:variable name="VarIDAVC1QG" select="ddwrt:SetVar('Columns', '.')" />
     <xsl:variable name="VarIDAZC1QG" select="ddwrt:SetVar('Dot', '.')" />
     <xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"><TH class="ms-vh" width="1" nowrap="nowrap" /></xsl:if>
     <!--LinkFilenameNoMenu-->
     <!--Name--><TH class="ms-vh2">
      <xsl:call-template name="dvt.headerfield" ddwrt:atomic="1" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">
       <xsl:with-param name="fieldname">@LinkFilenameNoMenu</xsl:with-param>
       <xsl:with-param name="fieldtitle">Name</xsl:with-param>
       <xsl:with-param name="displayname">Name</xsl:with-param>
       <xsl:with-param name="sortable">0</xsl:with-param>
       <xsl:with-param name="fieldtype">Text</xsl:with-param>
      </xsl:call-template>
     </TH></TR><xsl:value-of select="ddwrt:SetVar('NumColumns', string(string-length(ddwrt:GetVar('Columns'))))"></xsl:value-of>
     <xsl:choose>
      <xsl:when test="$dvt_adhocfiltermode != 'query' and $dvt_filterfield">
       <xsl:choose>
        <xsl:when test="starts-with($dvt_filterfield, '@')">
         <xsl:call-template name="dvt_1.body">
          <xsl:with-param name="Rows" select="$Rows" />
          
          <xsl:with-param name="FirstRow" select="1" />
          
          <xsl:with-param name="LastRow" select="$dvt_RowCount" />
          
         </xsl:call-template>
        </xsl:when>
        <xsl:when test="$dvt_filterfield = '.'">
         <xsl:call-template name="dvt_1.body">
          <xsl:with-param name="Rows" select="$Rows" />
          
          <xsl:with-param name="FirstRow" select="1" />
          
          <xsl:with-param name="LastRow" select="$dvt_RowCount" />
          
         </xsl:call-template>
        </xsl:when>
        <xsl:otherwise>
         <xsl:call-template name="dvt_1.body">
          <xsl:with-param name="Rows" select="$Rows" />
          
          <xsl:with-param name="FirstRow" select="1" />
          
          <xsl:with-param name="LastRow" select="$dvt_RowCount" />
          
         </xsl:call-template>
        </xsl:otherwise>
       </xsl:choose>
      </xsl:when>
      <xsl:otherwise>
       <xsl:call-template name="dvt_1.body">
        <xsl:with-param name="Rows" select="$Rows" />
        <xsl:with-param name="FirstRow" select="1" />
        
        <xsl:with-param name="LastRow" select="$dvt_RowCount" />
        
       </xsl:call-template>
      </xsl:otherwise>
     </xsl:choose>
     </TABLE>
     <xsl:choose>
      <xsl:when test="ddwrt:GetVar('SearchString')=''"></xsl:when>
     </xsl:choose>
     </td></tr>
    </TABLE></xsl:otherwise>
  </xsl:choose>
  
  <xsl:call-template name="dvt_1.commandfooter">
   <xsl:with-param name="FirstRow" select="$FirstRow" />
   <xsl:with-param name="LastRow" select="$LastRow" />
   <xsl:with-param name="RowLimit" select="$RowLimit" />
   <xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
   <xsl:with-param name="RealLastRow" select="number(ddwrt:NameChanged('',-100))" />
  </xsl:call-template>
 </xsl:template>
 <xsl:template name="dvt_1.body">
  <xsl:param name="ParentPath" />
  <xsl:param name="Rows" />
  <xsl:param name="FirstRow" />
  <xsl:param name="LastRow" />
  <xsl:for-each select="$Rows">
   <xsl:sort select="*[name() = $dvt_groupfield] | @*[name() = $dvt_groupfield] | text()[name(ancestor::*[1]) = $dvt_groupfield]" order="{$dvt_groupdir}" data-type="{$dvt_groupsorttype}" />
   <xsl:sort select="*[name() = $dvt_sortfield] | @*[name() = $dvt_sortfield] | text()[name(ancestor::*[1]) = $dvt_sortfield]" order="{$dvt_sortdir}" data-type="{$dvt_sorttype}" />
   <xsl:variable name="NewGroup_adhoc">
       <xsl:choose>
           <xsl:when test="$dvt_groupfield"><xsl:value-of select="ddwrt:NameChanged(string(*[name()=$dvt_groupfield] | @*[name()=$dvt_groupfield] | current()[name(.) = $dvt_groupfield]), 0)" /></xsl:when>
           <xsl:otherwise></xsl:otherwise>
       </xsl:choose>
   </xsl:variable>
   <xsl:variable name="groupname" select="string(*[name()=$dvt_groupfield] | @*[name()=$dvt_groupfield] | current()[name(.) = $dvt_groupfield])" />
   <xsl:if test="(not($NewGroup_adhoc='') or position()=$FirstRow)and $dvt_groupfield and position() &gt;= $FirstRow and position() &lt;= $LastRow">
       <xsl:if test="not (position()=1 or position()=$FirstRow)">
           <xsl:call-template name="dvt_1.groupfooter">
               <xsl:with-param name="fieldtitle" select="$dvt_groupdisplay" />
               <xsl:with-param name="fieldname" select="$dvt_groupdisplay" />
               <xsl:with-param name="fieldvalue">
                   <xsl:choose>
                       <xsl:when test="$dvt_grouptype='isodatetime'"><xsl:value-of select="ddwrt:GenDisplayName(string($NewGroup_adhoc))" /></xsl:when>
                       <xsl:otherwise><xsl:value-of select="$NewGroup_adhoc" /></xsl:otherwise>
                   </xsl:choose>
      </xsl:with-param>
               <xsl:with-param name="fieldtype" select="$dvt_grouptype" />
               <xsl:with-param name="nodeset" select="$Rows" />
               <xsl:with-param name="groupid" select="'9'" />
               <xsl:with-param name="displaystyle" select="'auto'" />
               <xsl:with-param name="imagesrc" select="'/_layouts/images/minus.gif'" />
               <xsl:with-param name="alttext" select="'collapse'" />
               <xsl:with-param name="altname" select="'expand'" />
               <xsl:with-param name="hidedetail" select="false()" />
               <xsl:with-param name="showheader" select="true()" />
               <xsl:with-param name="showheadercolumn" select="false()" />
           </xsl:call-template>
    </xsl:if>
       <xsl:call-template name="dvt_1.groupheader">
           <xsl:with-param name="fieldtitle" select="$dvt_groupdisplay" />
           <xsl:with-param name="fieldname" select="$dvt_groupdisplay" />
           <xsl:with-param name="fieldvalue">
               <xsl:choose>
                   <xsl:when test="$dvt_grouptype='isodatetime'"><xsl:value-of select="ddwrt:GenDisplayName(string($groupname))" /></xsl:when>
                   <xsl:otherwise><xsl:value-of select="$groupname" /></xsl:otherwise>
               </xsl:choose>
     </xsl:with-param>
           <xsl:with-param name="fieldtype" select="$dvt_grouptype" />
           <xsl:with-param name="nodeset" select="$Rows" />
           <xsl:with-param name="groupid" select="'9'" />
           <xsl:with-param name="displaystyle" select="'auto'" />
           <xsl:with-param name="imagesrc" select="'/_layouts/images/minus.gif'" />
           <xsl:with-param name="alttext" select="'collapse'" />
           <xsl:with-param name="altname" select="'expand'" />
           <xsl:with-param name="hidedetail" select="false()" />
           <xsl:with-param name="showheader" select="true()" />
           <xsl:with-param name="showheadercolumn" select="false()" />
       </xsl:call-template>
   </xsl:if>
   <xsl:variable name="dvt_KeepItemsTogether" select="false()" />
   
   <xsl:variable name="dvt_HideGroupDetail" select="false()" />
   <xsl:if test=" (position() &gt;=$FirstRow and position() &lt;= $LastRow) or $dvt_KeepItemsTogether">
       <xsl:if test="not($dvt_HideGroupDetail)" ddwrt:cf_ignore="1">
           <xsl:variable name="SrcPos"><xsl:number /></xsl:variable>
           <xsl:call-template name="dvt_1.rowview">
               <xsl:with-param name="ParentPath" select="$ParentPath" />
               <xsl:with-param name="SrcPos" select="$SrcPos" />
           </xsl:call-template>
    </xsl:if>
   </xsl:if>
   <xsl:if test="(position() = $LastRow or (position()=last() and $LastRow &gt; last())) and $dvt_groupfield">
       <xsl:call-template name="dvt_1.groupfooter">
           <xsl:with-param name="fieldtitle" select="$dvt_groupdisplay" />
           <xsl:with-param name="fieldname" select="$dvt_groupdisplay" />
           <xsl:with-param name="fieldvalue">
               <xsl:choose>
                   <xsl:when test="$dvt_grouptype='isodatetime'"><xsl:value-of select="ddwrt:GenDisplayName(string($groupname))" /></xsl:when>
                   <xsl:otherwise><xsl:value-of select="$groupname" /></xsl:otherwise>
               </xsl:choose>
     </xsl:with-param>
           <xsl:with-param name="fieldtype" select="$dvt_grouptype" />
           <xsl:with-param name="nodeset" select="$Rows" />
           <xsl:with-param name="groupid" select="'9'" />
           <xsl:with-param name="displaystyle" select="'auto'" />
           <xsl:with-param name="imagesrc" select="'/_layouts/images/minus.gif'" />
           <xsl:with-param name="alttext" select="'collapse'" />
           <xsl:with-param name="altname" select="'expand'" />
           <xsl:with-param name="hidedetail" select="false()" />
           <xsl:with-param name="showheader" select="true()" />
           <xsl:with-param name="showheadercolumn" select="false()" />
       </xsl:call-template>
    <xsl:value-of select="ddwrt:NameChanged('', -1)" />
   </xsl:if>
  </xsl:for-each>
  
 </xsl:template>
 <xsl:template name="dvt_1.rowview">
  <xsl:param name="ParentPath" />
  <xsl:param name="SrcPos" />
  <xsl:variable name="VarIDA5V1QG" select="ddwrt:SetVar('ColsOrBody', 'Cols')" />
  
  <TR>
    <xsl:if test="position() mod 2 = 0" ddwrt:cf_ignore="1">
     <xsl:attribute name="class">ms-alternating</xsl:attribute>
    </xsl:if>
    <xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"><td class="ms-vb" nowrap="nowrap">
     <xsl:call-template name="dvt_1.automode">
      <xsl:with-param name="KeyField">ID</xsl:with-param>
      <xsl:with-param name="KeyValue" select="ddwrt:EscapeDelims(string(@ID))" />
      <xsl:with-param name="Mode">ID</xsl:with-param>
     </xsl:call-template>
     </td></xsl:if>
                <TD colspan="1" style="width: 193px; height: 4px;"><IMG SRC="/_layouts/images/blank.gif" width="100%" height="4" alt="" /></TD>
               
                </TR>
  
                <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  <xsl:choose>
   <xsl:when test="ddwrt:GetVar('NumColumns')='1'"><TD class="ms-vb2" style="width: 50px"><img border="0" src="{@FileRef}" width="187" height="239" /></TD></xsl:when>
  </xsl:choose>
  <xsl:variable name="VarIDATW1QG" select="ddwrt:SetVar('HasBody', '0')" />
  <!--LinkFilenameNoMenu-->
  <!--Name-->
  <xsl:choose>
   <xsl:when test="ddwrt:GetVar('ColsOrBody')='Cols'"><TD Class="{$IDAOX1QG}">
    <xsl:variable name="FieldIDAAXEHE">
     <xsl:choose>
      <xsl:when test="@IsCheckedoutToLocal=''"></xsl:when>
      <xsl:otherwise><A HREF="{ddwrt:URLLookup('', 'IsCheckedoutToLocal', string(@ID))}"><xsl:value-of select="@IsCheckedoutToLocal" /></A></xsl:otherwise>
     </xsl:choose>
    </xsl:variable>
    <xsl:choose>
     <xsl:when test="@FSObjType='1'">
      <xsl:choose>
       <xsl:when test="ddwrt:GetVar('RecursiveView')='1'"><xsl:value-of select="@FileLeafRef" /></xsl:when>
       <xsl:otherwise>
        <xsl:variable name="SetVarIDAUSEHE"><xsl:value-of select="$PagePath" />?RootFolder=<xsl:value-of select="@FileRef" />&amp;FolderCTID=<xsl:value-of select="@ContentTypeId" /></xsl:variable>
        <xsl:value-of select="ddwrt:SetVar('UnencodedFilterLink', string($SetVarIDAUSEHE))" />
        <A onfocus="OnLink(this)" HREF="{ddwrt:GetVar('UnencodedFilterLink')}" onclick="javascript:EnterFolder('{ddwrt:GetVar('UnencodedFilterLink')}');return false;"><xsl:value-of select="@FileLeafRef" />
         <xsl:choose>
          <xsl:when test="ddwrt:GetVar('ShowAccessibleIcon')='1'"><img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></xsl:when>
          <xsl:otherwise></xsl:otherwise>
         </xsl:choose>
        </A>
       </xsl:otherwise>
      </xsl:choose>
     </xsl:when>
     <xsl:otherwise><A onfocus="OnLink(this)" HREF="{@FileRef}" onclick="return DispEx(this,event,'','','','','{ddwrt:ListProperty(&quot;DefaultItemOpen&quot;)}','{ddwrt:MapToControl(&quot;&quot;, string())}','{@HTML_x0020_File_x0020_Type}','','{ddwrt:GetUserID('CheckoutUser')}','{$Userid}','{ddwrt:ListProperty(&quot;ForceCheckout&quot;)}','{$FieldIDAAXEHE}','{ddwrt:CurrentRights()}')">
      <xsl:choose>
       <xsl:when test="ddwrt:GetVar('ShowAccessibleIcon')='1'"><img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></xsl:when>
       <xsl:otherwise></xsl:otherwise>
      </xsl:choose>
      </A>
      <xsl:if test="ddwrt:IfNew(string(@Created))"><IMG SRC="/_layouts/1033/images/new.gif" alt="New" /></xsl:if>Name:
          
          
          
          </xsl:otherwise>
    </xsl:choose><xsl:value-of select="@Title" /><br />Department:
     
     
     
     <xsl:value-of select="@CRBC_x0020_Departments" /><br />Job Title: <xsl:value-of select="@JobTitle" /><xsl:value-of select="@Job_x002d_Title" /><br />Manager: <xsl:value-of select="@ManagersName" /><br />Phone: <xsl:value-of select="@WorkPhone" /><br />Website: <a href="{substring-before(@PersonalWebsite, ', ')}"><xsl:value-of select="substring-after(@PersonalWebsite, ', ')" /></a></TD></xsl:when>
   <xsl:otherwise>
    <xsl:choose>
     <xsl:when test="@LinkFilenameNoMenu=''"></xsl:when>
     <xsl:otherwise>
      <xsl:variable name="VarIDAVY1QG" select="ddwrt:SetVar('HasBody', '1')" />
      <xsl:text disable-output-escaping="yes">&lt;TR&gt;</xsl:text>
      <TD class="ms-vb-tall" colspan="1">Name:
       <xsl:variable name="FieldIDAAXEHE">
        <xsl:choose>
         <xsl:when test="@IsCheckedoutToLocal=''"></xsl:when>
         <xsl:otherwise><A HREF="{ddwrt:URLLookup('', 'IsCheckedoutToLocal', string(@ID))}"><xsl:value-of select="@IsCheckedoutToLocal" /></A></xsl:otherwise>
        </xsl:choose>
       </xsl:variable>
       <xsl:choose>
        <xsl:when test="@FSObjType='1'">
         <xsl:choose>
          <xsl:when test="ddwrt:GetVar('RecursiveView')='1'"><xsl:value-of select="@FileLeafRef" /></xsl:when>
          <xsl:otherwise>
           <xsl:variable name="SetVarIDAUSEHE"><xsl:value-of select="$PagePath" />?RootFolder=<xsl:value-of select="@FileRef" />&amp;FolderCTID=<xsl:value-of select="@ContentTypeId" /></xsl:variable>
           <xsl:value-of select="ddwrt:SetVar('UnencodedFilterLink', string($SetVarIDAUSEHE))" />
           <A onfocus="OnLink(this)" HREF="{ddwrt:GetVar('UnencodedFilterLink')}" onclick="javascript:EnterFolder('{ddwrt:GetVar('UnencodedFilterLink')}');return false;"><xsl:value-of select="@FileLeafRef" />
            <xsl:choose>
             <xsl:when test="ddwrt:GetVar('ShowAccessibleIcon')='1'"><img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></xsl:when>
             <xsl:otherwise></xsl:otherwise>
            </xsl:choose>
           </A>
          </xsl:otherwise>
         </xsl:choose>
        </xsl:when>
        <xsl:otherwise><A onfocus="OnLink(this)" HREF="{@FileRef}" onclick="return DispEx(this,event,'','','','','{ddwrt:ListProperty(&quot;DefaultItemOpen&quot;)}','{ddwrt:MapToControl(&quot;&quot;, string())}','{@HTML_x0020_File_x0020_Type}','','{ddwrt:GetUserID('CheckoutUser')}','{$Userid}','{ddwrt:ListProperty(&quot;ForceCheckout&quot;)}','{$FieldIDAAXEHE}','{ddwrt:CurrentRights()}')"><xsl:value-of select="ddwrt:UrlBaseName(string(@LinkFilename))" />
         <xsl:choose>
          <xsl:when test="ddwrt:GetVar('ShowAccessibleIcon')='1'"><img src="/_layouts/images/blank.gif" class="ms-hidden" border="0" width="1" height="1" alt="Use SHIFT+ENTER to open the menu (new window)." /></xsl:when>
          <xsl:otherwise></xsl:otherwise>
         </xsl:choose>
         </A>
         <xsl:if test="ddwrt:IfNew(string(@Created))"><IMG SRC="/_layouts/1033/images/new.gif" alt="New" /></xsl:if>
        </xsl:otherwise>
       </xsl:choose>
      </TD>
     </xsl:otherwise>
    </xsl:choose>
   </xsl:otherwise>
  </xsl:choose>
  <xsl:choose>
   <xsl:when test="ddwrt:GetVar('HasBody')='1'"><TR><TD colspan="{ddwrt:GetVar('NumColumns')}"><IMG SRC="/_layouts/images/blank.gif" width="100%" height="8" alt="" /></TD></TR></xsl:when>
   <xsl:otherwise></xsl:otherwise>
  </xsl:choose>
  <TR><TD class="ms-nlline" colspan="1" style="width: 193px"><IMG SRC="/_layouts/images/blank.gif" width="100%" height="1" alt="" /></TD>
      </TR>
  
      </xsl:template>
 <xsl:template name="stringreplace">
  <xsl:param name="stringvalue" />
  <xsl:param name="from" />
  <xsl:param name="to" />
  <xsl:choose>
   <xsl:when test="contains($stringvalue, $from)"><xsl:value-of select="substring-before($stringvalue, $from)" />
    <xsl:if test="contains(substring($stringvalue, 1, string-length($stringvalue) - 1), $from)"><xsl:value-of select="$to" />
     <xsl:call-template name="stringreplace">
      <xsl:with-param name="stringvalue" select="substring-after($stringvalue, $from)" />
      <xsl:with-param name="from" select="$from" />
      <xsl:with-param name="to" select="$to" />
     </xsl:call-template>
    </xsl:if>
   </xsl:when>
   <xsl:otherwise><xsl:value-of select="$stringvalue" /></xsl:otherwise>
  </xsl:choose>
 </xsl:template>
 <xsl:template name="dvt.headerfield">
  <xsl:param name="fieldname" />
  <xsl:param name="fieldtitle" />
  <xsl:param name="displayname" />
  <xsl:param name="sortable">1</xsl:param>
  <xsl:param name="fieldtype">0</xsl:param>
  <xsl:choose>
   <xsl:when test="($dvt_adhocmode = 'sort' or $dvt_fieldsort = '1')and $sortable='1'">
    <xsl:variable name="sortfield">
     <xsl:choose>
      <xsl:when test="substring($fieldname, string-length($fieldname) - 5) = '(text)'">
       <xsl:value-of select="substring($fieldname, 1, string-length($fieldname) - 6)" />
      </xsl:when>
      <xsl:when test="substring($fieldname, 1, 1) = '@'">
       <xsl:value-of select="substring($fieldname, 2)" />
      </xsl:when>
      <xsl:otherwise>
       <xsl:value-of select="$fieldname" />
      </xsl:otherwise>
     </xsl:choose>
    </xsl:variable>
    <xsl:variable name="linkdir">
     <xsl:choose>
      <xsl:when test="$dvt_sortfield = $sortfield and $dvt_sortdir = 'ascending'">descending</xsl:when>
      <xsl:otherwise>ascending</xsl:otherwise>
     </xsl:choose>
    </xsl:variable>
    <xsl:variable name="sortText">
     <xsl:choose>
      <xsl:when test="$linkdir='descending'">&apos; + &apos;descending&apos; + &apos;</xsl:when>
      <xsl:otherwise>&apos; + &apos;ascending&apos; + &apos;</xsl:otherwise>
     </xsl:choose>
    </xsl:variable>
    <xsl:variable name="separator" select="' '" />
    <xsl:variable name="connector" select="';'" />
    <table CtxNum="1" cellspacing="0" class="ms-unselectedtitle" onmouseover="OnMouseOverAdHocFilter(this, '{concat($displayname,$separator,$fieldname, $separator,$fieldtype, $connector, 1033, $separator, $dvt_partguid)}')">
     <tr><td width="100%" class="ms-vb" nowrap="nowrap">
       <a>
      <xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={',$sortfield,'};dvt_sortdir={',$sortText,'}'))" />;</xsl:attribute>
      <xsl:attribute name="onclick">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={',$sortfield,'};dvt_sortdir={',$sortText,'}'))" />;</xsl:attribute>
      <xsl:choose>
       <xsl:when test="$fieldtype = 'Attachments'">
          <xsl:value-of select="$fieldtitle" disable-output-escaping="yes" />
         </xsl:when>
       <xsl:otherwise>
          <xsl:value-of select="$fieldtitle" />
         </xsl:otherwise>
      </xsl:choose>
      <xsl:if test="$dvt_sortfield = $sortfield">
       <xsl:choose>
        <xsl:when test="$dvt_sortdir = 'ascending'">
           <img border="0" alt="Ascending" src="{ddwrt:FieldSortImageUrl('Desc')}" /></xsl:when>
        <xsl:when test="$dvt_sortdir = 'descending'">
           <img border="0" alt="Descending" src="{ddwrt:FieldSortImageUrl('Asc')}" /></xsl:when>
       </xsl:choose>
      </xsl:if>
      </a>
      <xsl:if test="contains($dvt_filterfields, concat($fieldname, ';' ))">
        <IMG SRC="/_layouts/images/filter.gif" BORDER="0" ALT="" />
       </xsl:if>
      </td>
      <td><img src="/_layouts/images/blank.gif" width="13" style="visibility: hidden" alt="" /></td>
     </tr>
    </table>
    
   </xsl:when>
   <xsl:otherwise>
    <xsl:choose>
     <xsl:when test="$fieldtype = 'Attachments'">
      <xsl:value-of select="$fieldtitle" disable-output-escaping="yes" />
     </xsl:when>
     <xsl:otherwise>
      <xsl:value-of select="$fieldtitle" />
     </xsl:otherwise>
    </xsl:choose>
   </xsl:otherwise>
  </xsl:choose>
  <xsl:if test="$dvt_filterfield=$fieldname" ddwrt:cf_ignore="1"><img alt="Filter" src="{ddwrt:FieldFilterImageUrl('')}" /></xsl:if>
 </xsl:template>
 <xsl:template name="dvt_1.automode">
  <xsl:param name="KeyField" />
  <xsl:param name="KeyValue" />
  <xsl:param name="Mode" />
  <table border="0" cellspacing="0" cellpadding="1">
   <xsl:choose>
    <xsl:when test="$Mode = 'edit'">
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent('__commit')}">save</a>
      </td>
     </tr>
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent('__cancel')}">cancel</a>
      </td>
     </tr>
    </xsl:when>
    <xsl:when test="$Mode = 'insert'">
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent('__commit')}">save</a>
      </td>
     </tr>
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent('__cancel')}">cancel</a>
      </td>
     </tr>
    </xsl:when>
    <xsl:otherwise>
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent(concat('__cancel;dvt_1_form_editkey={',$KeyValue,'}'))}">edit</a>
      </td>
     </tr>
     <tr>
      <td class="ms-vb" width="1%" nowrap="nowrap">
       <a href="javascript: {ddwrt:GenFireServerEvent(concat('__cancel;__delete={',$KeyField,'=',$KeyValue,'};__commit'))}">delete</a>
      </td>
     </tr>
    </xsl:otherwise>
   </xsl:choose>
  </table>
 </xsl:template>
 <xsl:template name="dvt_1.listviewtoolbar">
  <xsl:param name="Rows" />
  <table class="ms-menutoolbar" cellpadding="2" cellspacing="0" border="0" width="100%">
   <tr>
    <td class="ms-toolbar" nowrap="">
     <SharePoint:NewMenu runat="server"></SharePoint:NewMenu>
    </td>
    <td class="ms-toolbar">|</td>
    <td class="ms-toolbar" nowrap="">
     <SharePoint:UploadMenu runat="server" />
    </td>
    <td class="ms-toolbar">|</td>
    <td class="ms-toolbar" nowrap="">
     <SharePoint:ActionsMenu runat="server"></SharePoint:ActionsMenu>
    </td>
    <td class="ms-toolbar">|</td>
    <td class="ms-toolbar" nowrap="">
     <SharePoint:SettingsMenu runat="server"></SharePoint:SettingsMenu>
    </td>
    <td width="99%" class="ms-toolbar" nowrap=""></td>
    <td nowrap="" class="ms-toolbar">
     <table border="0" cellpadding="0" cellspacing="0" style="margin-right: 4px">
      <tr>
       <td class="ms-listheaderlabel" nowrap="">View:
        <xsl:text xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" ddwrt:nbsp-preserve="yes" disable-output-escaping="yes">&amp;nbsp;</xsl:text>
       </td>
       <td nowrap="" class="ms-viewselector">
        <SharePoint:ViewSelectorMenu runat="server"></SharePoint:ViewSelectorMenu>
       </td>
      </tr>
     </table>
    </td>
   </tr>
  </table>
 </xsl:template>
 <xsl:template name="dvt_1.commandfooter">
  <xsl:param name="FirstRow" />
  <xsl:param name="LastRow" />
  <xsl:param name="RowLimit" />
  <xsl:param name="dvt_RowCount" />
  <xsl:param name="RealLastRow" />
  <table cellspacing="0" cellpadding="4" border="0" width="100%">
   <tr>
    <xsl:if test="$FirstRow &gt; 1 or $LastRow &lt; $dvt_RowCount">
     <xsl:call-template name="dvt_1.navigation">
      <xsl:with-param name="FirstRow" select="$FirstRow" />
      <xsl:with-param name="LastRow" select="$LastRow" />
      <xsl:with-param name="RowLimit" select="$RowLimit" />
      <xsl:with-param name="dvt_RowCount" select="$dvt_RowCount" />
      <xsl:with-param name="RealLastRow" select="$RealLastRow" />
     </xsl:call-template>
    </xsl:if>
    
   </tr>
  </table>
 </xsl:template>
 <xsl:template name="dvt_1.navigation">
  <xsl:param name="FirstRow" />
  <xsl:param name="LastRow" />
  <xsl:param name="RowLimit" />
  <xsl:param name="dvt_RowCount" />
  <xsl:param name="RealLastRow" />
  <xsl:variable name="PrevRow">
   <xsl:choose>
    <xsl:when test="$FirstRow - $RowLimit &lt; 1">1</xsl:when>
    <xsl:otherwise>
     <xsl:value-of select="$FirstRow - $RowLimit" />
    </xsl:otherwise>
   </xsl:choose>
  </xsl:variable>
  <xsl:variable name="LastRowValue">
   <xsl:choose>
    <xsl:when test="$LastRow &gt; $RealLastRow">
     <xsl:value-of select="$LastRow"></xsl:value-of>
    </xsl:when>
    <xsl:otherwise>
     <xsl:value-of select="$RealLastRow"></xsl:value-of>
    </xsl:otherwise>
   </xsl:choose>
  </xsl:variable>
  <xsl:variable name="NextRow">
   <xsl:value-of select="$LastRowValue + 1"></xsl:value-of>
  </xsl:variable>
  <td nowrap="" class="ms-paging" align="right">
   <xsl:if test="$dvt_firstrow &gt; 1" ddwrt:cf_ignore="1">
    <a>
    <xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('dvt_firstrow={1};dvt_startposition={}')" />;</xsl:attribute>
    Start</a>
    <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
    <a>
    <xsl:attribute name="href">javascript: history.back();</xsl:attribute>
    <img src="/_layouts/images/prev.gif" border="0" alt="Previous" />
    </a>
    <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
   </xsl:if>
   <xsl:value-of select="$FirstRow" />
    - <xsl:value-of select="$LastRowValue" />
   <xsl:text xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" ddwrt:nbsp-preserve="yes" disable-output-escaping="yes">&amp;nbsp;</xsl:text>
   <xsl:if test="$LastRowValue &lt; $dvt_RowCount or string-length($dvt_nextpagedata)!=0" ddwrt:cf_ignore="1">
    <a>
    <xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$NextRow,'};dvt_startposition={',$dvt_nextpagedata,'}'))" />;</xsl:attribute>
    <img src="/_layouts/images/next.gif" border="0" alt="Next" />
    </a>
   </xsl:if>
  </td>
 </xsl:template>
 <xsl:template name="dvt.filterfield">
  <xsl:param name="fieldname" />
  <xsl:param name="fieldtitle" />
  <xsl:param name="Rows" />
  <xsl:param name="fieldtype" />
  <xsl:variable name="dvt_FieldNameNoAtSign" select="substring-after($fieldname, '@')" />
  <xsl:variable name="filtertype">
   <xsl:if test="starts-with($fieldtype,'date')">date</xsl:if>
  </xsl:variable>
  <xsl:variable name="sorttype">
   <xsl:choose>
    <xsl:when test="starts-with($fieldtype,'number')">number</xsl:when>
    <xsl:otherwise>text</xsl:otherwise>
   </xsl:choose>
  </xsl:variable>
  <xsl:variable name="clientText">&apos; + this.options[this.selectedIndex].value + &apos;</xsl:variable>
  <xsl:if test="not(contains($fieldname, '/')) and not(contains($fieldname, '['))" ddwrt:cf_ignore="1">
   <xsl:value-of select="$fieldtitle" />
   <xsl:text disable-output-escaping="yes">:&lt;br&gt;</xsl:text>
   <select name="{$fieldname}_filterval">
   <xsl:attribute name="onchange">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('NotUTF8;dvt_filterfield={',$fieldname,'};dvt_filtertype={',$filtertype,'};dvt_adhocmode={false()};dvt_filterval={',$clientText,'}'))" />;</xsl:attribute>
   <option value="##dvt_empty##">
   <xsl:if test="$dvt_filterfield=$fieldname and $dvt_filterval=''">
    <xsl:attribute name="selected">true</xsl:attribute>
   </xsl:if>
   (Empty)</option>
   
    <option value="##dvt_all##">
    <xsl:choose>
     <xsl:when test="not($dvt_filterfield)">
      <xsl:attribute name="selected">true</xsl:attribute>
     </xsl:when>
     <xsl:when test="$dvt_filterfield!=$fieldname">
      <xsl:attribute name="selected">true</xsl:attribute>
     </xsl:when>
    </xsl:choose>
    (All)</option>
   
    <xsl:value-of select="ddwrt:NameChanged('',1)" />
   <xsl:choose>
    <xsl:when test="starts-with($fieldname, '@')">
     <xsl:variable name="dvt_Rows">
      <xsl:for-each select="$Rows">
        <xsl:sort select="@*[name()=$fieldname]" order="ascending" data-type="{$sorttype}" />
       
        <xsl:copy-of select="." />
       </xsl:for-each>
     </xsl:variable>
     <xsl:for-each select="msxsl:node-set($dvt_Rows)/*[not(@*[name()=$dvt_FieldNameNoAtSign]=preceding-sibling::*[1]/@*[name()=$dvt_FieldNameNoAtSign])]/@*[name()=$dvt_FieldNameNoAtSign]">
       <xsl:sort data-type="{$sorttype}" />
      <xsl:call-template name="dvt.filteroption">
          <xsl:with-param name="name" select="$fieldname" />
          <xsl:with-param name="value" select="." />
          <xsl:with-param name="type" select="$fieldtype" />
      </xsl:call-template>
     </xsl:for-each>
    </xsl:when>
    <xsl:when test="$fieldname = '.'">
     <xsl:variable name="dvt_Rows">
      <xsl:for-each select="$Rows">
        <xsl:sort select="." order="ascending" data-type="{$sorttype}" />
       
        <xsl:copy-of select="." />
       </xsl:for-each>
     </xsl:variable>
     <xsl:for-each select="msxsl:node-set($dvt_Rows)/*[not(.=preceding-sibling::*[1])]">
       <xsl:sort data-type="{$sorttype}" />
      <xsl:call-template name="dvt.filteroption">
          <xsl:with-param name="name" select="$fieldname" />
          <xsl:with-param name="value" select="." />
          <xsl:with-param name="type" select="$fieldtype" />
      </xsl:call-template>
     </xsl:for-each>
    </xsl:when>
    <xsl:otherwise>
     <xsl:variable name="dvt_Rows">
      <xsl:for-each select="$Rows">
        <xsl:sort select="*[name()=$fieldname]" order="ascending" data-type="{$sorttype}" />
       
        <xsl:copy-of select="." />
       </xsl:for-each>
     </xsl:variable>
     <xsl:for-each select="msxsl:node-set($dvt_Rows)/*[not(*[name()=$fieldname]=preceding-sibling::*[1]/*[name()=$fieldname])]/*[name()=$fieldname]">
       <xsl:sort data-type="{$sorttype}" />
      <xsl:call-template name="dvt.filteroption">
          <xsl:with-param name="name" select="$fieldname" />
          <xsl:with-param name="value" select="." />
          <xsl:with-param name="type" select="$fieldtype" />
      </xsl:call-template>
     </xsl:for-each>
    </xsl:otherwise>
   </xsl:choose>
   <xsl:value-of select="ddwrt:NameChanged('',1)" />
   
   </select>
  </xsl:if>
 </xsl:template>
 <xsl:template name="dvt.filteroption">
  <xsl:param name="name" />
  <xsl:param name="value" />
  <xsl:param name="type" />
  <xsl:if test="not(starts-with($type,'date')) or ddwrt:NameChanged($value,1)">
   <xsl:variable name="output">
    <xsl:choose>
     <xsl:when test="$type = 'number'">
      <xsl:value-of select="format-number($value,'#,##0.##;-#,##0.##')" />
     </xsl:when>
     <xsl:when test="starts-with($type,'number|')">
      <xsl:variable name="spec" select="substring-after($type,'|')" />
      <xsl:choose>
       <xsl:when test="contains($spec, 'lcid')">
        <xsl:variable name="apos">&apos;</xsl:variable>
        <xsl:variable name="realspec" select="substring-after($spec, $apos)" />
        <xsl:variable name="formatspec" select="substring-before($realspec, $apos)" />
        <xsl:variable name="formatspec2" select="substring-after($realspec, $apos)" />
        <xsl:variable name="lcid" select="normalize-space(substring-after($formatspec2, ','))" />
        <xsl:value-of select="format-number($value,string($formatspec), substring($lcid,2,string-length($lcid)-2))" />
        
       </xsl:when>
       <xsl:otherwise>
        <xsl:value-of select="format-number($value,substring($spec,2,string-length($spec)-2))" />
       </xsl:otherwise>
      </xsl:choose>
     </xsl:when>
     <xsl:when test="starts-with($type,'date')">
      <xsl:value-of select="ddwrt:FormatDate(string($value),1033,3)" />
     </xsl:when>
     <xsl:otherwise>
      <xsl:value-of select="$value" />
     </xsl:otherwise>
    </xsl:choose>
   </xsl:variable>
   <option>
   <xsl:attribute name="value">
     <xsl:value-of select="ddwrt:ConnEncode(normalize-space($value))" />
    </xsl:attribute>
   <xsl:if test="$dvt_filterfield=$name and $dvt_filterval=normalize-space($value) and $dvt_filterval!=''">
    <xsl:attribute name="selected">true</xsl:attribute>
   </xsl:if>
   <xsl:choose>
    <xsl:when test="string-length($output) &gt; 40">
      <xsl:value-of select="substring($output, 1, 40)" /> ...
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$output" />
     </xsl:otherwise>
   </xsl:choose>
   </option>
   
  </xsl:if>
 </xsl:template>
 <xsl:template name="dvt_1.groupheader">
  <xsl:param name="fieldtitle" />
  <xsl:param name="fieldname" />
  <xsl:param name="fieldvalue" />
  <xsl:param name="fieldtype" />
  <xsl:param name="nodeset" />
  <xsl:param name="groupid" />
  <xsl:param name="displaystyle" />
  <xsl:param name="imagesrc" />
  <xsl:param name="alttext" />
  <xsl:param name="altname" />
  <xsl:param name="hidedetail" />
  <xsl:param name="showheader" />
  <xsl:param name="showheadercolumn" />
  <xsl:if test="$showheader" ddwrt:cf_ignore="1">
   <tr id="group{$groupid}" style="display:{$displaystyle}">
    <td class="ms-gb" style="background:#cccccc;" colspan="99">
     <xsl:choose>
      <xsl:when test="$groupid='0' or $groupid='9'">
       <xsl:text></xsl:text>
      </xsl:when>
      <xsl:when test="$groupid='1'">
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:when>
      <xsl:when test="$groupid='2'">
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:when>
      <xsl:otherwise>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:otherwise>
     </xsl:choose>
     <xsl:if test="not($hidedetail)" ddwrt:cf_ignore="1">
      <a href="javascript:" onclick="javascript:ExpGroupBy(this);return false;">
       <img src="{$imagesrc}" border="0" alt="{$alttext}" name="{$altname}" /></a>
     </xsl:if>
     <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
     <b>
      <xsl:value-of select="$fieldtitle" />
     </b>
     <xsl:if test="$fieldtitle">: </xsl:if>
     <xsl:choose>
      <xsl:when test="$fieldtype='url'">
       <a href="{$fieldvalue}">
        <xsl:value-of select="$fieldvalue" />
       </a>
      </xsl:when>
      <xsl:when test="$fieldtype='user'">
       <xsl:value-of select="$fieldvalue" disable-output-escaping="yes" />
      </xsl:when>
      <xsl:otherwise>
       <xsl:value-of select="$fieldvalue" />
      </xsl:otherwise>
     </xsl:choose>
    </td>
   </tr>
  </xsl:if>
 </xsl:template>
 <xsl:template name="dvt_1.groupfooter">
  <xsl:param name="fieldtitle" />
  <xsl:param name="fieldname" />
  <xsl:param name="fieldvalue" />
  <xsl:param name="fieldtype" />
  <xsl:param name="nodeset" />
  <xsl:param name="groupid" />
  <xsl:param name="displaystyle" />
  <xsl:param name="showfooter" />
  <xsl:param name="showfootercolumn" />
  <xsl:if test="$showfooter" ddwrt:cf_ignore="1">
   <tr id="group{$groupid}" style="display:{$displaystyle}">
    <td class="ms-gb" style="background:#cccccc;" colspan="99">
     <xsl:choose>
      <xsl:when test="$groupid='0' or $groupid='9'"></xsl:when>
      <xsl:when test="$groupid='1'">
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:when>
      <xsl:when test="$groupid='2'">
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:when>
      <xsl:otherwise>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
       <xsl:text disable-output-escaping="yes" ddwrt:nbsp-preserve="yes">&amp;nbsp;</xsl:text>
      </xsl:otherwise>
     </xsl:choose>
     <b>Count : <xsl:value-of select="count($nodeset)" />
     </b>
    </td>
   </tr>
  </xsl:if>
 </xsl:template>
 <xsl:template name="dvt_1.toolbar">
  <xsl:param name="Rows" />
  <table cellSpacing="0" cellPadding="2" border="0" class="ms-toolbar" style="margin-left: 3px; margin-right: 5px;">
   <tr>
    <td id="dvt_tb_filter" nowrap=""><table><tr><td nowrap=""><a class="ms-toolbar">
     <xsl:attribute name="href">
      <xsl:variable name="tadhoc_mode">
       <xsl:choose>
        <xsl:when test="$dvt_adhocmode = 'filter'">nothing</xsl:when>
        <xsl:otherwise>filter</xsl:otherwise>
       </xsl:choose>
      </xsl:variable>
      
      
      
      javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_adhocmode={',$tadhoc_mode,'};dvt_filterfield={',$dvt_filterfield,'};dvt_filterval={',ddwrt:ConnEncode($dvt_filterval),'}'))" /></xsl:attribute>
     <img src="/_layouts/images/tbfilter.gif" border="0" alt="Filter" align="absbottom" />
     <xsl:choose>
      <xsl:when test="$dvt_adhocmode = 'filter'">Hide Filter Choices</xsl:when>
      <xsl:when test="$dvt_adhocmode != 'filter' and $dvt_filterfield = ''">Filter</xsl:when>
      <xsl:otherwise>Change Filter</xsl:otherwise>
     </xsl:choose>
     </a></td></tr></table></td><td class="ms-separator">|</td><td id="dvt_tb_sort" nowrap=""><table><tr><td nowrap="" class="ms-toolbar"><nobr>Sort by: <select>
    <xsl:variable name="clvar1_dvt_sortfield">&apos; + this.options[this.selectedIndex].value + &apos;</xsl:variable>
    <xsl:variable name="clvar2_dvt_sortfield">&apos; + this.options[this.selectedIndex].fieldtype + &apos;</xsl:variable>
    <xsl:variable name="clvar3_dvt_sortfield">&apos; + this.options[this.selectedIndex].title + &apos;</xsl:variable>
    <xsl:variable name="clvar4_dvt_sortfield">&apos; + this.options[this.selectedIndex].sorttype + &apos;</xsl:variable>
    <xsl:attribute name="OnChange">javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('NotUTF8;dvt_sortfield={', $clvar1_dvt_sortfield, '};dvt_sortdir={', $dvt_sortdir, '};dvt_sorttype={', $clvar4_dvt_sortfield, '}'))" /></xsl:attribute>
    <option value="">None</option>
    <option value="FileLeafRef">
    <xsl:if test="$dvt_sortfield='FileLeafRef'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    Name (for use in forms)
    <option value="Title">
    <xsl:if test="$dvt_sortfield='Title'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Full Name</option>
    <option value="CRBC_x0020_Departments">
    <xsl:if test="$dvt_sortfield='CRBC_x0020_Departments'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    CRBC Departments</option>
    <option value="JobTitle">
    <xsl:if test="$dvt_sortfield='JobTitle'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Job Title</option>
    <option value="ManagersName">
    <xsl:if test="$dvt_sortfield='ManagersName'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Manager&apos;s Name</option>
    <option value="WorkPhone">
    <xsl:if test="$dvt_sortfield='WorkPhone'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Business Phone</option>
    <option value="PersonalWebsite">
    <xsl:if test="$dvt_sortfield='PersonalWebsite'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    MySite</option>
    </select><a>
    <xsl:attribute name="href">
     <xsl:choose>
      <xsl:when test="$dvt_sortdir='descending'">javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={', $dvt_sortfield, '};dvt_sortdir={ascending}'))" /></xsl:when>
      <xsl:otherwise>javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_sortfield={', $dvt_sortfield, '};dvt_sortdir={descending}'))" /></xsl:otherwise>
     </xsl:choose>
    </xsl:attribute>
    <xsl:if test="$dvt_sortfield" ddwrt:cf_ignore="1"><img border="0">
     <xsl:attribute name="src">
      <xsl:choose>
       <xsl:when test="$dvt_sortdir='descending'"><xsl:value-of select="ddwrt:FieldSortImageUrl('Asc')" /></xsl:when>
       <xsl:otherwise><xsl:value-of select="ddwrt:FieldSortImageUrl('Desc')" /></xsl:otherwise>
      </xsl:choose>
     </xsl:attribute>
     <xsl:attribute name="alt">
      <xsl:choose>
       <xsl:when test="$dvt_sortdir='descending'">Descending</xsl:when>
       <xsl:otherwise>Ascending</xsl:otherwise>
      </xsl:choose>
     </xsl:attribute>
     </img></xsl:if>
    </a></nobr></td></tr></table></td><td class="ms-separator">|</td><td id="dvt_tb_group" nowrap=""><table><tr><td nowrap="" class="ms-toolbar"><nobr>Group by: <select>
    <xsl:variable name="clvar1_dvt_groupfield">&apos; + this.options[this.selectedIndex].value + &apos;</xsl:variable>
    <xsl:variable name="clvar2_dvt_groupfield">&apos; + this.options[this.selectedIndex].fieldtype + &apos;</xsl:variable>
    <xsl:variable name="clvar3_dvt_groupfield">&apos; + this.options[this.selectedIndex].title + &apos;</xsl:variable>
    <xsl:variable name="clvar4_dvt_groupfield">&apos; + this.options[this.selectedIndex].sorttype + &apos;</xsl:variable>
    <xsl:attribute name="OnChange">javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('NotUTF8;dvt_groupfield={', $clvar1_dvt_groupfield, '};dvt_sortdir={', $dvt_sortdir, '};dvt_grouptype={', $clvar2_dvt_groupfield, '};dvt_groupdisplay={', $clvar3_dvt_groupfield, '};dvt_groupsorttype={', $clvar4_dvt_groupfield, '}'))" /></xsl:attribute>
    <option value="">None</option>
    <option value="FileLeafRef" fieldtype="" title="Name (for use in forms)">
    <xsl:if test="$dvt_groupfield='FileLeafRef'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    Name (for use in forms)
    <option value="Title" fieldtype="" title="Full Name">
    <xsl:if test="$dvt_groupfield='Title'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Full Name</option>
    <option value="CRBC_x0020_Departments" fieldtype="" title="CRBC Departments">
    <xsl:if test="$dvt_groupfield='CRBC_x0020_Departments'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    CRBC Departments</option>
    <option value="JobTitle" fieldtype="" title="Job Title">
    <xsl:if test="$dvt_groupfield='JobTitle'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Job Title</option>
    <option value="ManagersName" fieldtype="" title="Manager's Name">
    <xsl:if test="$dvt_groupfield='ManagersName'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Manager&apos;s Name</option>
    <option value="WorkPhone" fieldtype="" title="Business Phone">
    <xsl:if test="$dvt_groupfield='WorkPhone'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    Business Phone</option>
    <option value="PersonalWebsite" fieldtype="" title="MySite">
    <xsl:if test="$dvt_groupfield='PersonalWebsite'">
     <xsl:attribute name="selected">yes</xsl:attribute>
    </xsl:if>
    
    
    
    MySite</option>
    </select><a>
    <xsl:attribute name="href">
     <xsl:choose>
      <xsl:when test="$dvt_groupdir='descending'">javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_groupfield={', $dvt_groupfield, '};dvt_groupdir={ascending}'))" /></xsl:when>
      <xsl:otherwise>javascript:<xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_groupfield={', $dvt_groupfield, '};dvt_groupdir={descending}'))" /></xsl:otherwise>
     </xsl:choose>
    </xsl:attribute>
    <xsl:if test="$dvt_groupfield" ddwrt:cf_ignore="1"><img border="0">
     <xsl:attribute name="src">
      <xsl:choose>
       <xsl:when test="$dvt_groupdir='descending'"><xsl:value-of select="ddwrt:FieldSortImageUrl('Asc')" /></xsl:when>
       <xsl:otherwise><xsl:value-of select="ddwrt:FieldSortImageUrl('Desc')" /></xsl:otherwise>
      </xsl:choose>
     </xsl:attribute>
     <xsl:attribute name="alt">
      <xsl:choose>
       <xsl:when test="$dvt_groupdir='descending'">Descending</xsl:when>
       <xsl:otherwise>Ascending</xsl:otherwise>
      </xsl:choose>
     </xsl:attribute>
     </img></xsl:if>
    </a></nobr></td></tr></table></td><td width="99%"></td>
   </tr>
  </table>
  <xsl:if test="$dvt_adhocmode = 'filter'" ddwrt:cf_ignore="1">
   <table cellSpacing="0" cellPadding="2" border="0" class="ms-toolbar" style="margin-left: 3px; margin-right: 5px;">
    <tr>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@FileLeafRef</xsl:with-param>
          <xsl:with-param name="fieldtitle">Name (for use in forms)</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@FileLeafRef</xsl:with-param>
          <xsl:with-param name="fieldtitle">Name (for use in forms)</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@Title</xsl:with-param>
          <xsl:with-param name="fieldtitle">Full Name</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@CRBC_x0020_Departments</xsl:with-param>
          <xsl:with-param name="fieldtitle">CRBC Departments</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@JobTitle</xsl:with-param>
          <xsl:with-param name="fieldtitle">Job Title</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@ManagersName</xsl:with-param>
          <xsl:with-param name="fieldtitle">Manager&apos;s Name</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@WorkPhone</xsl:with-param>
          <xsl:with-param name="fieldtitle">Business Phone</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@PersonalWebsite</xsl:with-param>
          <xsl:with-param name="fieldtitle">MySite</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@FileLeafRef</xsl:with-param>
          <xsl:with-param name="fieldtitle">Name (for use in forms)</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@FileLeafRef</xsl:with-param>
          <xsl:with-param name="fieldtitle">Name (for use in forms)</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <th nowrap="nowrap">
      <table>
       <tr>
        <td class="ms-toolbar" nowrap="nowrap">
         <xsl:call-template name="dvt.filterfield">
          <xsl:with-param name="fieldname">@LinkFilename</xsl:with-param>
          <xsl:with-param name="fieldtitle">LinkFilename</xsl:with-param>
          <xsl:with-param name="Rows" select="$Rows" />
          <xsl:with-param name="fieldtype">text</xsl:with-param>
         </xsl:call-template>
        </td>
       </tr>
      </table>
     </th>
     <td width="99%"></td>
    </tr>
   </table>
  </xsl:if>
  <hr></hr>
 </xsl:template>
</xsl:stylesheet>

</Xsl>
</WebPartPages:DataFormWebPart>

</ZoneTemplate></WebPartPages:WebPartZone>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
<style type="text/css">
.ms-bodyareaframe {
 padding: 0px;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
<SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
  <SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
</asp:Content>