I have an xml tag that needs to be converted into a barcode on the label. The thing is, this xml can be 2 to 3. But judging on the space allotted for it, it can only fit 2 barcode.
<lbl_barcode>8746573</lbl_barcode>
<lbl_barcode>8763628</lbl_barcode>
now i want those lbl_barcode to be displayed on the label.
How can i do this if they have the same xml tags?
Assuming they’re in a parent node, you can simply loop through each of them, regardless of the name. Click the parent node and insert a Repeat there. Then click one of the barcodes and Insert Extraction.
You’ll end up with an XPath like this that’s based off the the repeat.
At the end, you’ll have a detail table in your data model that contains all of the barcodes.