XSL Transformation

The XSL Transformation plug-in allows you to run an Extensible Stylesheet Language (XSL) style sheet on XML and stores the results in a file on the file system.

Value Pair

Description

file

The name of the file that will be saved on the file system.

omitxmldeclaration

Indicates whether or not to output the initial XML declaration.  The default is false, which means it will automatically output the XML declaration.

xmlcolumn

The XML column.

xsldocumentlibrary

The name of the document library.

xslfile

The name of the XSL file that will be executed.

xslsite

The site to run the XML stylesheet.

Example

  • file – [%SVTEMP%]\[//my:NDAName].doc
  • xmlcolumn – FormXml
  • xsldocumentlibrary – NDA Stylesheets
  • xslfile – nda2wordml.xsl
  • xslsite– http://localhost/nda

This example takes the XML from the column Form Xml, runs the stylesheet nda2wordml.xsl on the specified site and document library, and stores the result in the directory specified by the SVTEMP environment variable, with a file name specified by the NDAName form field with a .doc extension.