<?xml version="1.0"?>

<!-- This is a test document for Code 128 barcodes generator -->

<doc title="Code 128 barcodes">
  <para>
    This document contains several examples of Code 128 barcodes.
    A special stylesheet interprets data string (special character escaped by '%')
    and encodes it using Code 128 into a sequence of bar states.
    Those barstates are drawn in SVG.
    On the left, final barcodes are shown; on the right, barcode generator
    stylesheet input parameters and description are listed.
  </para>

  <para>
    Please refer to explanations inside of the code128.xsl stylesheet for more
    information about the stylesheet usage.
  </para>
  
  <barcodes>
    <barcode value="1PBK500EI" subset="A" string="BK500EI">
      <description>
        Barcode representing Supplier Part Number 'BK500EI' found on APC UPS unit.
        (first '1P' stands for 'Supplier Part Number').
        Whole barcode coded using 'A' code subset.
      </description>
    </barcode>

    <barcode value="SCB500J1C3Y" subset="B" string="CB500J1C3Y">
      <description>
        Barcode representing Serial Number 'CB500J1C3Y' found on SonyEricsson T68i mobile phone.
        (first 'S' stands for 'Serial').
        Whole barcode coded using 'B' code subset.
      </description>
    </barcode>

    <barcode value="067023611120229212" subset="C">
      <description>
        Barcode representing number '067023611120229212' found on Nokia 3210 battery.
        Whole barcode coded using 'C' code subset.
      </description>
    </barcode>

    <barcode value="Data:%CODEC%28102003" subset="B" string="Data:28102003">
      <description>
        Composite barcode. Initially code subset set to 'B', but it's switched to 'C'
        when coding numerical data to improve barcode information density.
      </description>
    </barcode>

    <barcode value="%FNC1%4020987654321123" subset="C" string="(402)0987654321123">
      <description>
        UCC/EAN Barcode, first data character is "function code one" (%FNC1%)
        followed by "Application Identifier" and the data itself.
        This type of barcode is usually coded using 'C' code subset.
      </description>
    </barcode>
  </barcodes>
</doc>