formatting the output xml message

Home Page Forums BizTalk 2004 – BizTalk 2010 formatting the output xml message

Viewing 1 reply thread
  • Author
    Posts
    • #15543

      Hi,

       

      I have a source message of following type

       

      Source

      <Emp1>

        <Empname1>ABC</Empname1>

       < EmpNo1>1</ EmpNo1>

      </Emp1>

      <Emp2>

        <Empname2>XYZ</Empname2>

       < EmpNo2>1</ EmpNo2>

      </Emp2>

       

       

      The value of empname will be concatenated using string concatenate functoid and mapped to target

      Which should appear like this

       

      <empname>

      ABC

      XYZ

      </empname>

       

      Can I create the output like above using BIztalk 2006? Which functoid I should useto get above formate?

      How to include linefeed/carriage return while mapping?

      Thank you

    • #15549

      I think it depends on your destination system as to how to add CR / LF.  In C#, you’d just need to add /r/n (might be /n/r or something close to that).   In that case, you could just use a simple string concatenation functoid to add name 1, “/n/r”, and name 2.

       

      Guess I’ve never tried it, but I think it would work that way.

       

      Depending on your destination, you might need something else to get the CR / LF. 

       

      Hope this helps.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.