Regarding Merging XML Files. RRS feed

  • Question

  • HI , 

    I have a requirement where I have to merge the XML files after the mapping  in a loop. ( In orchestration) 

    I am doing that in a class library using Dataset to merge XML.  It was having some performance issues so I switched to the below code which is very fast.

                    XDocument xFileRoot = XDocument.Parse(Doc1.OuterXml);
                    XDocument xFileChild = XDocument.Parse(Doc2.OuterXml);


    However after merging around 10 files,  my output file is having addional CRLF  in between the blank element which was not there incase of using dataset for merging the files. Is there anyway to handle this ? 


    Thanks, Varun

    Friday, March 10, 2017 2:24 PM


All replies