Barcode Utility User's Guide

38
Appendix D: XML Specification for Barcodes
Definition of an XML File
Elements and Tree
Structure
Tag Name
Mandatory/
Optional
Specification
Document name DocumentName Mandatory
Document name that contains barcode
information
Total number of page TotalPageNum Mandatory Total number of pages in the document
Total number of barcode TotalBarcodeNum Mandatory Total number of barcodes in the document
Barcode information BarcodeInfo Mandatory Tag for barcode information
Type of barcode Type Mandatory Barcode type
Decode result includes
check digit
String Optional Barcode string
Decode result excludes
check digit
StringWoCheckDigit Mandatory Barcode string excludes check digit
Location Information Location Mandatory Tag for location information
Area Information Area Mandatory Tag for barcode area
Page Number PageNum Mandatory The page number containing this barcode
X Coordinates X Mandatory
X coordinates of the top left corner of
barcode (px)
Y Coordinates Y Mandatory
Y coordinates of the top left corner of
barcode (px)
Width Width Mandatory Width of barcode (px)
Height Height Mandatory Height of barcode (px)
Rotation Angle Degree Mandatory Barcode rotation angle
Optional Information Option Mandatory Tag for optional information
Check Digit Flag CheckDigit Mandatory Flag if this barcode has a check digit
Start Code StartCode Optional
Start code (Used only when the type of
barcode is CODABAR or CODE39)
Stop Code StopCode Optional
Stop code (Used only when the type of
barcode is CODABAR or CODE39)