WebService

using Sitecore;
using Sitecore.Web.UI.WebControls;
 
namespace _3_061102.layouts
{
  /// <summary>
  /// Summary description of WebService1
  /// </summary>
  [WebService(Namespace = "http://tempuri.org/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  [ToolboxItem(false)]
  public class WebService1 : System.Web.Services.WebService
  {
 
    [WebMethod]
    public string ExecuteXslt(string XslFile)
    {
      XslFile xsl = new XslFile();
      xsl.Path = XslFile;
      xsl.DataSource = "/sitecore/content/home";
      string htmlOutput = xsl.RenderAsText();
      return htmlOutput;
    }
  }
}

{{opmerking.Naam}}:

{{opmerking.OpmerkingText}}

            

Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!