Description | manuals and libraries |
Kernel::GenericInterface::Mapping::XSLT - GenericInterface XSLT
data mapping backend
usually, you want to create an instance of this by using Kernel::GenericInterface::Mapping->new();
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.
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',
};
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.