
####
XSLT
####


****
NAME
****


Kernel::GenericInterface::Mapping::XSLT - GenericInterface \ ``XSLT``\  data mapping backend


****************
PUBLIC INTERFACE
****************


new()
=====


usually, you want to create an instance of this
by using Kernel::GenericInterface::Mapping->new();


Map()
=====


Provides mapping based on \ ``XSLT``\  style sheets.
Additional data is provided by the function results from various stages in requester and provider.
This data can be included in the \ ``XSLT``\  mapping as 'DataInclude' structure via configuration.


.. code-block:: perl

     my $ReturnData = $MappingObject->Map(
         Data => {
             'original_key' => 'original_value',
             'another_key'  => 'next_value',
         },
         DataInclude => {
             RequesterRequestInput => { ... },
             RequesterRequestPrepareOutput => { ... },
             RequesterRequestMapOutput => { ... },
             RequesterResponseInput => { ... },
             RequesterResponseMapOutput => { ... },
             RequesterErrorHandlingOutput => { ... },
             ProviderRequestInput => { ... },
             ProviderRequestMapOutput => { ... },
             ProviderResponseInput => { ... },
             ProviderResponseMapOutput => { ... },
             ProviderErrorHandlingOutput => { ... },
         },
     }
     );
 
     my $ReturnData = {
         'changed_key'          => 'changed_value',
         'original_key'         => 'another_changed_value',
         'another_original_key' => 'default_value',
         'default_key'          => 'changed_value',
     };





