add child params values, xml header + variable encoding value