I'm trying to print this xml string from chuck: <step step="3" cycle="0" > What I get, when I use this code: <<< "<step step=\"", step ,"\" cycle=\"", cycle, "\" >" >>>; is this: <step step=\" 3 \" cycle=\" 0 \" > Spaces and escape characters abound! Could someone help me with this? Cheers, Ollie