What I typically do in the case where there are multiple barcodes on a
form is use the label as the parent element to the rest of the fields on
the form. Loop through each of the barcodes in the results from the
decode and then place each of them into their own result node of a
single XML document. Doing this, you can change the number of barcodes
on your form without having to re-code.