Subject: [xsl] ANN: .NET XSLT command line utility, version 1.2 From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Wed, 04 Jun 2003 17:15:36 +0200 |
Changes since version 1.1: - built-in support for 60 EXSLT extension functions - support for custom extension functions - minor bug fixes
nxslt is a small command line utility that allows to perform XSL Transformations (XSLT) using .NET Framework's XSLT implementation - System.Xml.Xsl.XslTransform class. nxslt basically dublicates functionality and command line options, provided by Microsoft's MSXSL.EXE Command Line Transformation Utility with small difference: unlike msxsl.exe, nxslt does not support specifying start mode. In addition, nxslt has some distinct advanced features, like support for embedded stylesheets, custom URI resolving, multiple result documents, custom extension functions, built-in rich library of EXSLT extenstion functions etc.
nxslt is .NET Framework application, written in C# language and requires .NET Framework version 1.0 to be installed.
nxslt supports rich library of 60 EXSLT extension functions [1], implemented by Dare Obasanjo, see his "EXSLT: Enhancing the Power of XSLT" article[2]. EXSLT support is enabled by default and cannot be disabled in this version. Full list of supported EXSLT functions is available at http://www.tkachenko.com/dotnet/nxslt.html#exslt-funclist
nxslt allows to specify extension object classes, whose public methods then can be used as extension functions in an XSLT stylesheet. -ext option must be followed by a comma-separated list of namespace-qualified extension object class names. Each class name must be bound to a namespace URI using prefix as when providing XSLT parameters. -an and -af options can be used to specify an assembly to load classes from in the same manner it's described in Custom URI Resolving section. Here are some samples of using custom extension functions:
nxslt.exe source.xml style.xsl -ext Acme.Extensions xmlns="http://acme.com" nxslt.exe source.xml style.xsl -ext a:Acme.Extensions xmlns:a="http://acme.com" nxslt.exe source.xml style.xsl -ext a:Acme.Extensions,b:Acme.Ext2 \ xmlns:a="http://acme.com" xmlns:b="http://acme2.com" nxslt.exe source.xml style.xsl -ext a:Acme.Extensions \ xmlns:a="http://acme.com" -af d:\acme\Extensions.dll
nxslt is freely available for download in precompiled Windows executable form and in source code (complete Microsoft Visual Studio .NET C# project): nxslt home: http://www.tkachenko.com/dotnet/nxslt.html GotDotNet site (should be updated in 72 hours): http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=f63837a2-161e-4f4a-8d3e-310ba9bd774d
[1] http://www.exslt.org/ [2] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml05192003.asp
So enjoy! -- Oleg Tkachenko http://www.tkachenko.com/blog Multiconn Technologies, Israel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] template match : node-set, Américo Albuquerque | Thread | [xsl] Creating "mailto" in a XML fi, vipul . vij |
[xsl] Could I set an attribute to <, Martin Grigorov | Date | [xsl] Creating "mailto" in a XML fi, vipul . vij |
Month |