How to Print Multiple copies in BI Accoding to Quantity.


I have given XML codes in Bi for get Multiple Copies of templates in pdf according to quantity.

<[email protected]:xdoxslt:foreach_number($_XDOCTX,1,/[FONT="Times New Roman",serif]Quantity_ID10[/FONT],1)?>

The problem is that according to the first quantity number all templates print.

For Eg: if there are three templates and quantity for each is 3,5 and 2 respectively then the number of PDF copies printed will be 3 for all templates.Only the initial templates quantity is read.