EXSLT.NET 1.1

EXSLT.NET library is community-developed free open-source implementation of the EXSLT extensions to XSLT for the .NET platform. EXSLT.NET fully implements the following EXSLT modules: Dates and Times, Common, Math, Random, Regular Expressions, Sets and Strings. In addition EXSLT.NET library provides proprietary set of useful extension functions.

Download EXSLT.NET 1.1 at the EXSLT.NET Workspace home – http://workspaces.gotdotnet.com/exslt
EXSLT.NET online documentation – http://www.xmland.net/exslt

EXSLT.NET Features:

  • 65 supported EXSLT extension functions
  • 13 proprietary extension functions
  • Support for XSLT multiple output via exsl:document extension element
  • Can be used not only in XSLT, but also in XPath-only environment
  • Thoroughly optimized for speed implementation of set functions

EXSLT.NET extension functions has been implemented: dyn2:evaluate(), which allows to evaluate a string as an XPath expression, date2:day-name(), date2:day-abbreviation(), date2:month-name() and date2:month-abbreviation() – these functions are culture-aware versions of the appropriate EXSLT functions.

Typically you are using EXSLT.NET library in your application via GotDotNet.Exslt.ExsltTransform class, which encapsulates EXSLT implementation under the guise of standard XslTransform class (ExsltTransform class completely duplicates XslTransform API from .NET 1.0 you are familiar with). So the rules of the ExsltTransform usage are simple: just use it instead of standard XslTransform class:

using System;
using System.Xml.XPath;
using GotDotNet.Exslt;

public class ExsltTest
{
public static void Main()
{
ExsltTransform xslt = new ExsltTransform();
xslt.Load("foo.xsl");
xslt.Transform("foo.xml", "result.html");
}
}