added server side parser for xml from gate.