ePages 7.28.0 - DE_EPAGES/DHL/API/XML/DHLProductHandler.pm

Package DE_EPAGES::DHL::API::XML::DHLProductHandler

Import handler for DHL product service definition files.

Base
DE_EPAGES::XML::API::BaseImportHandler
Example
my $fh = FileHandle->new($FileName, "r");
ParseProductFile($fh, $NoOutput, 'IMPORT');
@EXPORT_OK
ParseProductFile
ParseProductData

Functions

ParseProductData
ParseProductFile

ParseProductData

Parse DHL product service description. Takes an already parsed hash instead of XML data

Syntax
ParseProductData( $hData, $NoOutput, $Action );
Input
$hData (ref.hash)
Data parsed from XML file
$NoOutput (boolean)
suppress output
$Action (string)
use string 'IMPORT' for importing. Nothing else implemented.

ParseProductFile

Parse DHL product service description file

Syntax
ParseProductFile( $FileHandler, $NoOutput, $Action );
Input
$FileHandler (object)
XML parser
$NoOutput (boolean)
suppress output
$Action (string)
use string 'IMPORT' for importing. Nothing else implemented.