Encode the Data

Use this syntax in a form field in the template to format the data.

<?format-barcode:data;'barcode_type'?>

where

data is the element from the XML data source to be encoded. For example: LABEL_ID

barcode_type is the method in the encoding Java class used to format the data. For example: code128a.

For example:

<?format-barcode:LABEL_ID;'code128a'?>

At runtime, the barcode_type method is called to format the data value and the barcode font is then applied to the data in the final output.