sillajose
Member
I want to pass the "
<?xdoxslt:set_variable($_XDOCTX,’PrintCpy’,Quantity_ID10)?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,’PrintCpy’),1)?>
<?call:imgctrl?>
<?end for-each?>
<?end if?>
It shows error"Error invoking 'foreach_number':'java.lang.NumberFormatException" when giving the variable 'PrintCpy' but when giving quantity value instead of "
Quantity_ID10" value to the variable "
<?if:Template_ID8='IPC'?>PrintCpy" in BI publisher using xml code, and I used the following code
<?xdoxslt:set_variable($_XDOCTX,’PrintCpy’,Quantity_ID10)?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,’PrintCpy’),1)?>
<?call:imgctrl?>
<?end for-each?>
<?end if?>
It shows error"Error invoking 'foreach_number':'java.lang.NumberFormatException" when giving the variable 'PrintCpy' but when giving quantity value instead of "
PrintCpy"(<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,’2’),1)?>)
it is Working
.
can anyone suggest a solution to get value in for loop..
Last edited: