Html Code For Dhl Commercial I

Based on a sample pdf of a dhl commercial invoice and waybill, along with the xml variables available, code an html page for each item.

I am writing the code to submit the xml file to dhl and receive the resulting xml file. But need for the returned information to be constructed into the two forms.

The forms need declaration of the variables at the start of the code (php array dhlxml() with the array itemnames per the xml file, with dummy information per the pdf samples), and those variables used for display on the form.

The xml includes 4 bar code variables that can be used as base64 gif images – for example this works:
<style type=”text/css”>
#barcode {
float: left;
width: 175px;
height: 83px;
border: 0;
background: transparent url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAATcAAABeCAIAAADJzMRDAAABbUlEQVR4nO3TQQrCMBRAwcb737kuBBGVGkOVt5hZlZD+JoU39n3fVo0xtm17mvC4eHu++7j4dsPk+uvzt0c62HAwanLC5CGPrzw5f/K0/xk7+dbCr/v2c2tXW/5LJ7r8aC5wFpVCnUqhTqVQp1KoUynUqRTqVAp1KoU6lUKdSqFOpVCnUqhTKdSpFOpUCnUqhTqVQp1KoU6lUKdSqFMp1KkU6lQKdSqFOpVCnUqhTqVQp1KoUynUqRTqVAp1KoU6lUKdSqFOpVCnUqhTKdSpFOpUCnUqhTqVQp1KoU6lUKdSqFMp1KkU6lQKdSqFOpVCnUqhTqVQp1KoUynUqRTqVAp1KoU6lUKdSqFOpVCnUqhTKdSpFOpUCnUqhTqVQp1KoU6lUKdSqFMp1KkU6lQKdSqFOpVCnUqhTqVQp1KoUynUqRTqVAp1KoU6lUKdSqFOpVCnUqhTKdSpFOpUCnUqhTqVQp1KoU6lUKdSqLsCIIaKuXGrkp0AAAAASUVORK5CYII=) left top no-repeat;
}

</style>

<div id=”barcode”></div>

Leave a Reply

Your email address will not be published. Required fields are marked *