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

    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!