XML Transform

Applies an XSLT transform to XML data associated with a Grooper document.

Remarks

Provides support for XSLT 1.0 transformations of XML data.

Inherits from: Unattended Activity

Properties

The following 8 properties are defined.

Property Name Description
General
Source Type: XmlSource, Default: Data

Specifies the source of the XML content. Can be one of the following values:

  • Data - The source will be an XML representation of the document's index data.
  • Content - The source will be the document's native file version.
  • File - The source will a custom file generated by a previous activity.

Input Filename Type: String

When Source is set to "File", specifies the name of a custom file containing XML data.

XML Transform Type: String, Default: <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>

The XSLT transform to be applied. Supports XSLT 1.0 syntax only. It is best to use the XML Transform Tester for editing the XSLT source, as this interface provides a view of the input and output XML documeents.

Target Type: XmlTarget, Default: File

Specifies how the results of the XML transform will be saved. Can be one of the following values:

  • File - The output XML will be saved to a named file.
  • Content - The output XML will be saved as the document's native file version.

Output Filename Type: String

The filename under which the results of the XML transform will be saved.

Processing Options
Error Disposition Type: IssueDisposition, Default: Flag, Log

Determines what happens when an error occurs processing an activity.

Maximum Consecutive Errors Type: Int32, Default: 0

The maximum number of consecutive errors, after which a critical stop will be raised. A critical stop will cause services to stop running.

Concurrency Mode Type: ConcurrencyMode, Default: Multiple

Specifies the parallel processing mode for this activity. Can be one of the following values:

  • Multiple - Multiple instances can run concurrently.
  • PerMachine - Only a single instance can run per machine.
  • Single - Only a single instance can run per Grooper repository.
This value determines the type of Thread Pool on which the activity can be executed.

Used By

Batch Folder - Apply Activity, Batch Process Step