2 Replies Latest reply on Aug 19, 2014 7:05 PM by 2732350

    How handling with concatenated variables?


      Hi, I need a help!


      I have a little problem, when I concatenate some variables. I can't remove the comma after the last loaded variable.






                <name>DIVINO CARVALHO DE OLIVEIRA</name>

                <qualification>RG. 111.333 SSP/MT</qualification>



                <name>ARISTIDES PERALTA MARTINS</name>

                <qualification>222.555 SSP/MS</qualification>



      And the function

      <?if:xdoxslt:get_variable($_XDOCTX, 'PEOPLE') != ' '?> <?xdoxslt:set_variable($_XDOCTX,’PEOPLE’,concat(xdoxslt:get_variable($_XDOCTX, ‘PEOPLE’),concat(name,‘, ’)))?>

      <?end if?>


      Thank you!