19.5 Extending XSLT Processing with EXSLT.NET

XSLT is a powerful tool for processing and transforming XML, and it has a rich set of operations to identify and transform nodes. However, it lacks some simple functions that .NET programmers take for granted. For example, there’s no way to make use of dates and times, regular expressions, or simple string object manipulations.

EXSLT.NET is a library of extension objects that support XSLT extension functions defined by the EXSLT community initiative (http://www.exslt.org). The EXSLT initiative is an effort to standardize extensions to XSLT 1.0 so that a wider range of XSLT engines can make use of stylesheets with extensions.

EXSLT.NET implements functions in many categories: Dates and Times, Functions, Math, Random, Regular Expressions, Sets, and Strings. It is actively being developed for .NET 2.0, but a version is available for .NET 1.1.

EXSLT.NET at a Glance

Tool

EXSLT.NET

Version covered

2.0

Home page

http://www.xmlmvp.org/exslt/index.html

Power Tools page

http://www.windevpowertools.com/tools/105

Summary

Implements XSLT extension functions defined in the EXSLT community initiative, including date/time, math, regular expression, set, and string functions

License type

BSD

Online resources

Blogs, newsgroups

Supported Frameworks

.NET 1.1, 2.0

Related tools in this book

nxslt2, eXml, XInclude.NET, XPointer.NET

Getting Started

You can download EXSLT.NET as part ...

Get Windows Developer Power Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.