This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ANN] Barcode generator in XSL


Dear all,

as a byproduct of our main activity, we have got an XSL stylesheet that draws
barcodes from digit sequences. We hope a thing like this may be useful for
people wishing to add barcode labelling to their XSL-based publishing solutions;
it is also a funny example of XSLT programming per se.

Barcodes implemented are the most popular ones that you can see on items in
stores and groceries - UPC/EAN, to be precise; other systems can be easily
added. The output is an XSL FO table that can be rendered to PDF. As most of the
barcode-drawing logic is independent of the output graphical format, modifying
the stylesheet to produce SVG or something similar should be a relatively simple
task.

The stylesheet and examples are freely available from
http://www.renderx.com/Demos/barcode/; please come and see. You can also insert
your own barcodes into the test and see if it produces a correct pattern. Don't
forget to send me a bug report if it doesn't ;-).

Best regards,
Nikolai Grigoriev

RenderX


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]