XSLFOPTransformation

From GreenVulcano Wiki
Jump to: navigation, search

Description

The XSLFOPTransformation element defines a XSL/FOP transformation.

GreenVulcano® ESB configuration

The XSLFOPTransformation Element is used by: Transformations.

The following table shows its attributes:

Attribute Type Description
type fixed This attribute must assume the value transformation.
class fixed This attribute must assume the value it.greenvulcano.gvesb.gvdte.transformers.fop.XSLFOPTransformer.
name required Transformation name.

The attribute's value cannot be null.

validate optional The attribute's admitted values are:
  • true
  • false
validateDirection optional The attribute's admitted values are:
  • in
  • out
  • in-out
validationType optional The attribute's admitted values are:
  • xsd
  • dtd
XSLMapName required Style-sheet to be used in transformation.

The attribute's value cannot be null.

SchemaInput optional XSD Schema that describes the input XML.
SchemaOutput optional XSD Schema that describes the output XML.
DataSourceSet optional DataSourceSet name from which retrieves the transformation map and validation schema.

The attribute's value cannot be null.

OutputMIME optional Output MIME for FOP transformation.

If not specified, the default value is 'application/pdf'. The attribute's value cannot be null.

Attribute Type Description
TransformerFactory optional The FQN of the TransformerFactory class to use. If not configured use the JVM default.

Might contain the following sub-elements:

How To

XSLFOPTransformation with VulCon

XSLFOPTransformation is easily configurable from the VulCon Core view. Expand the GVDataTransformation element and right clicking Transformations -> Insert after or Insert before -> XSLFOPTransformation.

You may also configure it using GV Console®:

  1. From the Parameter area -> GVCore Configuration -> Edit.
  2. GVDataTransformation -> Transformations
  3. Click the GVCONSOLEAddIcon.jpg icon present in one of the empty spaces available (depends on where you want to place the element) and add an XSLFOPTransformation.
  4. Click the new element and set the attributes name and XSLMapName.
  5. Save all.


See the ProcessSVCEmails and ProcessSingleSVCEmail examples to learn more about XSLFOPTransformation use and configuration.