Register  Login       Search  
Products » NxsltTask  
 
  
 
nxslt Task for NAnt/MSBuild  nxslt Task for NAnt/MSBuild      Minimize
 
Introduction
Requirements
Download and License
Feedback

What is nxslt Task?

nxslt task is a free feature-rich task for NAnt and MSBuild that allows to perform XSL Transformations (XSLT) using .NET Framework 2.0 XSLT 1.0 implementation - System.Xml.Xsl.XslCompiledTransform class. nxslt task supports plenty of advanced features:

  • XML Base, XInclude, XPointer
  • Embedded stylesheets
  • <?xml-stylesheet?> processing instruction
  • Multiple output documents via exsl:document extension element
  • Custom URI resolving
  • Custom extension functions
  • 70+ EXSLT and EXSLT.NET extension functions
  • Credentials to access XML documents and XSLT stylesheets
  • Pretty printing
  • Batch processing
Show as single page

Introduction | Page 1 of 4 | Requirements
 
nxslt Task - MSBuild Specific Information  nxslt Task - MSBuild Specific Information      Minimize
 
Parameters | Specifying Inputs/Output | Passing parameters | Other attributes | Multioutput | Custom URI resolving | Extensions
 
Show as single page

Parameters

Attribute Type Description Required Default
In task item
Source XML document(s) to be transformed. no  
Style string
XSLT stylesheet file. If given as path, it can be relative to the project's basedir or absolute. no identity
Out string
Principal output file. no  
StripWhitespace bool Strip non-significant whitespace from source and stylesheet. no false
ResolveExternals bool Resolve external definitions during parse phase. no true
ResolveXInclude bool Process XInclude during parse phase. no true
Validate bool Validate documents during parse phase. no false
ShowTimings bool Show load and transformation timings. no false
PrettyPrint bool Pretty-print source document. no false
GetStylesheetFromPI bool Get stylesheet URL from the xml-stylesheet PI of the source document. no false
Resolver string Use named URI resolver class. no  
AssemblyFile string Assembly file name to look up URI resolver class. no  
AssemblyName string Assembly full or partial name to look up URI resolver class. no  
MultiOutput bool Allow multiple output documents. no false
XmlCredentials string Credentials in username:password@domain format to be used in Web request authentications when loading source XML documents. no  
XsltCredentials string Credentials in username:password@domain format to be used in Web request authentications when loading XSLT stylesheets. no  
Extension string Desired file extension to be used for the targets. no html
DestDir string Directory in which to store the results. no Project base directory
Parameters XML
XSLT parameters to be passed to the XSLT transformation. no
ExtensionObjects XML XSLT extension objects to be passed to the XSLT transformation. no

Parameters | Page 1 of 7 | Specifying Inputs/Output
 
nxslt Task - NAnt Specific Information  nxslt Task - NAnt Specific Information      Minimize
 
Parameters | Specifying Inputs/Output | Passing parameters | Other attributes | Multioutput | Custom URI resolving | Extensions
 
Show as single page

Parameters

Attribute Type Description Required Default
in Uri Input XML document to be transformed. no  
style Uri XSLT stylesheet file. If given as path, it can be relative to the project's basedir or absolute. no identity
out file Principal output file. no  
stripwhitespace bool Strip non-significant whitespace from source and stylesheet. no false
resolveexternals bool Resolve external definitions during parse phase. no true
resolvexinclude bool Process XInclude during parse phase. no true
validate bool Validate documents during parse phase. no false
showtimings bool Show load and transformation timings. no false
prettyprint bool Pretty-print source document. no false
getstylesheetfrompi bool Get stylesheet URL from the xml-stylesheet PI of the source document. no false
resolver string Use named URI resolver class. no  
assemblyfile string Assembly file name to look up URI resolver class. no  
assemblyname string Assembly full or partial name to look up URI resolver class. no  
multioutput bool Allow multiple output documents. no false
xmlcredentials string Credentials in username:password@domain format to be used in Web request authentications when loading source XML documents. no  
xsltcredentials string Credentials in username:password@domain format to be used in Web request authentications when loading XSLT stylesheets. no  
extension string Desired file extension to be used for the targets. no html
destdir directory Directory in which to store the results. no Project base directory

Parameters | Page 1 of 7 | Specifying Inputs/Output