Hello!
I'm glad to announce version 1.1 of nxslt - .NET XSLT command line utility.
Changes since version 1.0:
- improved transformation timings measurement
- support for custom URI resolver to be used in xsl:include/xsl:import
instructions and document() function
- support for multiple result documents through partial support of
exsl:document element [1]
Requirements
nxslt is .NET Framework application, written in C# language and requires
.NET Framework version 1.0 to be installed.
Download
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:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=f63837a2-161e-4f4a-8d3e-310ba9bd774d
Custom URI resolver
-r option allows to provide custom URI resolver class name to be used in
xsl:include/xsl:import instructions and document() function. -af and -an
options allows to specify assembly file or name, where the specified resolver
class can be found:
nxslt.exe source.xml style.xsl -r Acme.Resolvers.CacheResolver \
-af d:\acme\CacheResolver.dll
or (when an assembly is installed into the GAC):
nxslt.exe source.xml style.xsl -r Acme.Resolvers.CacheResolver \
-an CacheResolverAssemblyName
Multiple Result Documents
When -mo option is specified, nxslt recognizes exsl:document extension
element, which allows to create multiple result documents in one
transformation run. Note that only "xml" and "text" output methods are
supported in this version.
Supported subset of the exsl:document element attributes:
<exsl:document
href = { uri-reference }
method = { "xml" | "text" }
encoding = { string }
standalone = { "yes" | "no" }
doctype-public = { string }
doctype-system = { string }
indent = { "yes" | "no" }
<-- Content: template -->
</exsl:document>
More info available at http://www.tkachenko.com/dotnet/nxslt.html.
[1] http://www.exslt.org/exsl/elements/document/index.html
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list