Hi folks,
I am using "barcode4j" with Apache FOP, to generate barcode and print in a PDF. Now, the barcode is taking only hard-coded messages. How can i pass, custom messages in that?
Below, is my custom xsl-code::
<fo:block>
<fo:instream-foreign-object>
<barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
message="1234567">
<barcode:Code39> <barcode:height>1.5cm</barcode:height></barcode:Code39>
</barcode:barcode>
</fo:instream-foreign-object>
</fo:block>
let m know, how to pass custom messages into 'message' section?
I am using "barcode4j" with Apache FOP, to generate barcode and print in a PDF. Now, the barcode is taking only hard-coded messages. How can i pass, custom messages in that?
Below, is my custom xsl-code::
<fo:block>
<fo:instream-foreign-object>
<barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
message="1234567">
<barcode:Code39> <barcode:height>1.5cm</barcode:height></barcode:Code39>
</barcode:barcode>
</fo:instream-foreign-object>
</fo:block>
let m know, how to pass custom messages into 'message' section?