Difference between revisions of "XSLTransformation"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== XSLTransformation element defines a XSL Transformation =={{GVESB}} configuration==")
 
Line 4: Line 4:
  
 
=={{GVESB}} configuration==
 
=={{GVESB}} configuration==
 +
 +
The XSLTransformation Element is used by [[GVDataTransformation#Transformations|Transformations]].
 +
 +
The following table shows its attributes:
 +
{|class="gvtable"
 +
! 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.xslt.XSLTransformer'''
 +
|-
 +
| 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.
 +
|}
 +
 +
XSLTransformation might contain the following sub-elements:
 +
* [[Description]]
 +
* [[AddTagTransformation#TransformationAlias|TransformationAlias]]
 +
* [[#DHExternalRetrieverHelper|DHExternalRetrieverHelper]]
 +
 +
===DHExternalRetrieverHelper===
 +
 +
DHExternalRetrieverHelper is a Transformer Helper useful to invoke a DataHandler Retriever in stand-alone XSL Transformations.
 +
 +
The DHExternalRetrieverHelper Element is used by:
 +
* [[HL72XMLTransformation]]
 +
* [[XML2HL7Transformation]]
 +
* [[XQTransformation]]
 +
* [[XSLFOPTransformation]]
 +
* [[XSLTransformation]]
 +
 +
 +
The following table shows its attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| type || fixed || This attribute must assume the value '''transformer-helper'''.
 +
|-
 +
| class || fixed || This attribute must assume the value
 +
'''it.greenvulcano.gvesb.datahandling.utils.dte.DHExternalRetrieverHelper'''.
 +
|-
 +
| dh-call-name || required || DataHandler call providing the retrievers.
 +
|-
 +
| jdbc-connection-name || required || DataBase connection name.
 +
The attribute's value cannot be null.
 +
|}
 +
 +
Might contain the following sub-element:
 +
* [[Description]]

Revision as of 08:44, 2 April 2012

Description

XSLTransformation element defines a XSL Transformation

GreenVulcano® ESB configuration

The XSLTransformation 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.xslt.XSLTransformer
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.

XSLTransformation might contain the following sub-elements:

DHExternalRetrieverHelper

DHExternalRetrieverHelper is a Transformer Helper useful to invoke a DataHandler Retriever in stand-alone XSL Transformations.

The DHExternalRetrieverHelper Element is used by:


The following table shows its attributes:

Attribute Type Description
type fixed This attribute must assume the value transformer-helper.
class fixed This attribute must assume the value

it.greenvulcano.gvesb.datahandling.utils.dte.DHExternalRetrieverHelper.

dh-call-name required DataHandler call providing the retrievers.
jdbc-connection-name required DataBase connection name.

The attribute's value cannot be null.

Might contain the following sub-element: