<?xml version="1.0"?>

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

<doc title="Codabar barcodes">
  <para>
    This document contains several examples of Codabar barcodes (also known as USD-4, NW-7, and 2 of 7 code).
    A special stylesheet interprets data given in a string of digits,
    encodes it using Codabar code into a sequence of bar states and then draws them in SVG.
    Current Codabar barcode generator implementation do not create any checksum.
    All 0 and 1 bars have the same width respectively.
    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 codabar.xsl stylesheet for more information
    about the stylesheet usage.
  </para>
  
  <barcodes>
    <barcode value="1234567890" start="A" stop="B">
      <description>
        This barcode contains digits only and use default start/stop characters.
      </description>
    </barcode>
    <barcode value="123-456" start="A" stop="A">
      <description>
        This barcode contains digits and minus sign.
        It uses 'A' both as start and stop character.
      </description>
    </barcode>
    <barcode value="20.10.2003/18:36" start="C" stop="D">
      <description>
        This barcode contains data/time stamp written using digits,
        period, colon and slash signs.
        It uses 'C' as start and 'D' stop character.
      </description>
    </barcode>

    <barcode value="1-2/3+4.5:6$7890" start="B" stop="C">
      <description>
        This barcode contains all characters allowed by Codabar alphabet.
        It uses 'B' as start and 'C' stop character.
      </description>
    </barcode>

  </barcodes>
</doc>