converted xml string to dom and forwarded some elements to jsp