JSON2XMLTransformation

From GreenVulcano Wiki
Jump to: navigation, search

Description

JSON2XMLTransformation element defines a JSON to XML Transformation

GreenVulcano® ESB configuration

The JSON2XMLTransformation 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.json.JSON2XMLTransformer
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:
  • out
validationType optional The attribute's admitted values are:
  • xsd
  • dtd
OutputXSLMapName optional Style-sheet to be used in transformation from the basic (JSON->)XML to a different XML. 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.
TransformerFactory optional The FQN of the TransformerFactory class to use. If not configured use the JVM default.
Attribute Type Description
ForceAttributes optional A comma-separated list of keys name to be set as XML attributes.

JSON2XMLTransformation might contain the following sub-elements: