Any has any idea why the 'code128-svg.xsl' contains some nonsense? Can anyone teach me how to use download the necessary files from RenderX Code 128? I have downloaded those code128.xsl, code128-svg.xsl, testdata.xml and test-barcodes-fo.xsl to test on local but failed...
I test it by open the xml in IE, I add
<?xml-stylesheet type="text/xsl" href="testbarcode.xsl"?>
at the top of the xml...
The output is:
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.