ePages 6.17.35 - DE_EPAGES/DHL/API/XML/DHLProductInfoHandler.pm

Package DE_EPAGES::DHL::API::XML::DHLProductInfoHandler

@EXPORT_OK
ParseProductInfoXML

Functions

ParseProductInfoXML

ParseProductInfoXML

Parses product infos as returned by the DHL ProductInfo web service. Returns data that can be fed to DHLProductHandler::ParseProductData

Syntax
$hProductInfo = $Package->ParseProductInfoXML(1, $XML);
Input
$NoOuput (boolean)
if 1, no output will be printed
$XML (string)
XML data fetched from the DHL web service
Return
$hProductInfo (ref.hash)
parsed data to be used with DHLProductHandler::ParseProductData