Mapping one document to other document

Dear All.,
im mapping few of the elements of pipelinein document to pipelineout document. all values are mapping properly except two. here im gving how im mapping:
Ex: pipe-line-in and pipeline-out have same structure(Document)
my tree view looks like
in this im getting all values from pipeline-in and pipeline-out. but in tenderDetail i want only tendettype. when i map only this element im not getting that tag itself.
onething is that. above this map im mapping that tenderdetail at node level not object(String) level. using a loop im forming this document structure there im not taking tendertype and tenderamt variables , there im mapping directly tenderdetails(documentlist)—>tenderdetail(docList).
can anyone please help me in this.
M Kartheek