title: XSLT barcode generator from RenderX
body: <p>Any has any idea why the 'code128-svg.xsl' contains some nonsense? Can anyone teach me how to use download the necessary files from <a href="http://www.renderx.com/demos/barcode/code128.html" rel="nofollow">RenderX Code 128</a>? I have downloaded those code128.xsl, code128-svg.xsl, testdata.xml and test-barcodes-fo.xsl to test on local but failed... </p>
  
  <p>I test it by open the xml in IE, I add </p>
  
  <pre><code>&lt;?xml-stylesheet type="text/xsl" href="testbarcode.xsl"?&gt;
  </code></pre>
  
  <p>at the top of the xml...</p>
  
  <p>The output is:</p>
  
  <blockquote>
    <p>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.   Please refer to explanations inside of the code128.xsl stylesheet for more information about the stylesheet usage.   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.    Barcode representing Serial Number 'CB500J1C3Y' found on SonyEricsson T68i mobile phone. (first 'S' stands for 'Serial'). Whole barcode coded using 'B' code subset.    Barcode representing number '067023611120229212' found on Nokia 3210 battery. Whole barcode coded using 'C' code subset.    Composite barcode. Initially code subset set to 'B', but it's switched to 'C' when coding numerical data to improve barcode information density.    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.    </p>
  </blockquote>