XSL template not printing correctly



I´m trying to use a XSL template to create barcode (Code 3 of 9), but I have some printing problems and I can't solve them. Can someone help me?


I merged three files and adapted the code to my needs, but it seems to not work properly: the barcode is not correctly printing, just a line instead multiple lines.


The files I merged (from this site):



Then I reached the following code (xsl - merged):


http://ift.tt/1sa2iKo


To test I used the following XML:



<root>
<dql1>
<row>
<r_version_label> <r_version_label-value>001a</r_version_label-value></r_version_label>
<r_modify_date value="123123213" addchecksum="false" print-text="true">001b</r_modify_date>
<log_entry>001c</log_entry>
</row>
<row>
<r_version_label> <r_version_label-value value="123123" addchecksum="false" print-text="false">001a</r_version_label-value></r_version_label>
<r_modify_date value="12312322312" addchecksum="false" print-text="true">002b</r_modify_date>
<log_entry>002c</log_entry>
</row>
</dql1>
</root>


To see the transformation, I used the website: http://ift.tt/1jBHd6W . It allows me to create with these files the PDF that I want. But, as you can see, the barcode is not correct!


Any idea of what is wrong in the code?


Thank you ;)


No comments:

Post a Comment