How to get current date in xsl in XML Viewer WebPart?

I am using SharePoint 2013. I am using the XML Viewer WebPart. In this webpart I have some xml and a write xsl in the xsl editor. Everything is working fine. I would like to filter te data on the start and enddate. How can I get the currentdate in the xsl?

XML:

<?xml version="1.0" encoding="utf-8"?> <sitegegevens> <vacatures>  <vacature id="27223" >  <titel>TitelA</titel>  <startdate>16-05-2014</startdate>  <enddate>11-08-2014</enddate> </vacature>  <vacature id="27224" >  <titel>TitelB</titel>  <startdate>16-05-2014</startdate>  <enddate>11-06-2014</enddate> </vacature>  <vacature id="27225" >  <titel>TitelC</titel>  <startdate>16-09-2014</startdate>  <enddate>11-10-2014</enddate> </vacature>  </vacatures> </sitegegevens> 

XSL:

<xsl:stylesheet    version="1.0"    xmlns:x="http://www.w3.org/2001/XMLSchema"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">  <xsl:template match="vacature">  <h1><xsl:value-of select="titel"/></h1> <br/>  Start date: <xsl:value-of select="startdate"/><br/> End date: <xsl:value-of select="enddate"/><br/>  <br/>  </xsl:template> </xsl:stylesheet> 

I have try this, but give me the error “Failed to apply XSLT to the content”:

<xsl:stylesheet    version="1.0"    xmlns:x="http://www.w3.org/2001/XMLSchema"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">  <xsl:template match="vacature">  <h1><xsl:value-of select="titel"/></h1> <br/>  Start date: <xsl:value-of select="startdate"/><br/> End date: <xsl:value-of select="enddate"/><br/> Current date: <xsl:variable name="current-date" select="translate(substring-before(date:date-time(), 'T'), '-', '')"/>  <br/>  </xsl:template> </xsl:stylesheet> 

UPDATE:

I have added a data view webpart and connect it to some list “FAQ”. I have added inside this DVWP the today binding with the current date:

<WebPartPages:XsltListViewWebPart runat="server" ViewFlag="" ViewSelectorFetchAsync="False" InplaceSearchEnabled="False" ServerRender="False" ClientRender="True" InitialAsyncDataFetch="False" WebId="00000000-0000-0000-0000-000000000000" IsClientRender="False" GhostedXslLink="main.xsl" NoDefaultStyle="TRUE" ViewGuid="{B90A96CD-EEA6-45BD-9E12-136D71C72878}" EnableOriginalValue="False" DisplayName="FAQ3" ViewContentTypeId="0x" Default="FALSE" ListName="{72AB33F7-A53E-4F33-B5ED-146350A153E9}" ListId="72ab33f7-a53e-4f33-b5ed-146350a153e9" PageSize="-1" UseSQLDataSourcePaging="True" DataSourceID="" ShowWithSampleData="False" AsyncRefresh="False" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" Title="FAQ" FrameType="Default" SuppressWebPartChrome="False" Description="" IsIncluded="True" ZoneID="wpz" PartOrder="3" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True" AllowHide="True" IsVisible="True" TitleUrl="/Lists/FAQ" DetailLink="/Lists/FAQ" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="Kan dit webonderdeel niet importeren." ImportErrorMessage="Kan dit webonderdeel niet importeren." PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="False" ConnectionID="00000000-0000-0000-0000-000000000000" ID="g_b90a96cd_eea6_45bd_9e12_136d71c72878" ExportMode="NonSensitiveData" __MarkupType="vsattributemarkup" __WebPartId="{B90A96CD-EEA6-45BD-9E12-136D71C72878}" __AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width=""><ParameterBindings>         <ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>         <ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>         <ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>         <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)" />         <ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>     </ParameterBindings> <DataFields> </DataFields> <XmlDefinition> <View Name="{B90A96CD-EEA6-45BD-9E12-136D71C72878}" MobileView="TRUE" Type="HTML" Hidden="TRUE" DisplayName="FAQ3" Url="/SitePages/Vacatures.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23" ><Query/><ViewFields><FieldRef Name="Title"/><FieldRef Name="Antwoord"/></ViewFields><RowLimit Paged="TRUE">30</RowLimit><Aggregations Value="Off"/><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><Toolbar Type="Standard"/></View></XmlDefinition> </WebPartPages:XsltListViewWebPart> 

After this I have added the variable today in my stylesheet:

<xsl:stylesheet        version="1.0"        xmlns:x="http://www.w3.org/2001/XMLSchema"        xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">      <xsl:param name="Today" />     <xsl:template match="vacature">      <h1><xsl:value-of select="titel"/></h1> <br/>      Start date: <xsl:value-of select="startdate"/><br/>     End date: <xsl:value-of select="enddate"/><br/>     Current date: <xsl:value-of select="$  Today"/><br/>      <br/>      </xsl:template>     </xsl:stylesheet> 

No error, but I dont see a date. The variable looks empty.

RSS Viewer Web Part Loading Error

Working in SP13 and the RSS Viewer Web Part is available. The web part came over from a site original created in SP10. It worked when it entered into SP13 however it’s not working now. Things I have done to correct the problem was to delete the web part and put another on the site. However, the URL does not work. This error appears when applying the URL “An unexpected error occurred when processing your request. See logs for further information and correct the error.” I checked the URL in the browser and it worked fine.

What I want to be able to do is to show each RSS Feed (total of 4 on a page) as individual feeds on a page.

To resolve the issue I tried many things.

  1. I have searched and found many questions about the same problem. Many had no answers.
  2. I found another solution to create a content query web part. But found no clear steps on how to do so.
  3. Tried to show the RSS Feed page by using the Page Viewer web part, but the URL will not show. Is this because it’s an RSS Feed?
  4. I haven’t checked the Kerberos authentication , but if worked a week ago wouldn’t mean the Kerberos is on?

Has anyone ran across this issue in SP13?

Note: To get to the RSS Feed an username/password is to be entered if you just use the company URL. The RSS Feed URL (short cut URL) does not work in the RSS Viewer web part.

SQL Server Reporting Services Report Viewer – Error Message

We are trying to add the SQL Server Reporting Services Report Viewer webpart to a page, but get the following error:

“An error occurred during local report processing. For more information about this error navigate to the report server on the local server machine, or enable remote errors”

We are running an old version of Sharepoint – I believe it’s Sharepoint 2010.

Event Viewer Error with Event ID 3: WebHost failed to process a request repeating continuously

Below is the error details. Please suggest the solution for same.

This is on SharePoint 2016 Environment configure on Windows Server R2

Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/62476613 Exception: System.ServiceModel.ServiceActivationException: The service ‘/6ad627e30629460596e2cc21a0917c57/ProfileDBCacheService.svc’ cannot be activated due to an exception during compilation. The exception message is: The farm is unavailable.. —> System.InvalidOperationException: The farm is unavailable. at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local() at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode) at Microsoft.Office.Server.UserProfiles.ProfileDBCacheServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) — End of inner exception stack trace — at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) Process Name: w3wp Process ID: 5072

How to create a linux application like team viewer?

I wanna try to build a linux application to control my Raspberry Pi over the internet. I just wanna need the terminal of the Raspberry pi or desktop if possible. Now I have a cloud Django and I have build remote access with the help of subprocess command and command is stored in the cloud. So each time Raspberry pi contact the cloud, cloud will return with that command and then Raspberry pi will execute the command and the output of the command is transferred to cloud through post request. This is how I maid remote access.

But I wanna develop a more efficient access just like the team viewer, anydesk etc… I need to control the Raspberry pi from my website. That is, I need a application to run on my Raspberry Pi so it will communicate with my cloud.

File Viewer Zoom capabilities

I have a PDF loaded in a File Viewer Modern Webpart. There are zoom buttons on the control bar which zoom in/out. The problem is it only zooms into the center and you cannot drag the document around so it’s pretty much useless. Is there a better webpart that allows a lightbox dialog or a way to zoom in and drag an image // pdf smoothly?

Target links to open in page viewer web part from list view

I have a document library, and use office web apps to open the documents for reading. I would like the document to open inside a page viewer web part. Thus one could click a document in the library, and it will be visible in the word viewer app in a webpart on the same page, instead of opening a new page. Is this possible? And how?

regards