Mapping name-value set into hierarchical structure

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Mapping name-value set into hierarchical structure

Viewing 1 reply thread
  • Author
    Posts
    • #19077

      Hi!

      The left side has a looping name-value set. The values identified by their names have to be spread across three nested elements on the right and stored in the attributes of those elements.  Example of the left side XML:

      <name-value-pair> 

      <name>Name1</name> 

      <value>value1</value> 

      <name>Name2</name> 

      <value>value2</value>

      <name>Name3</name> 

      <value>value3</value>

      </name-value-pair>

       

      Example of the right side that I need to arrive at:

       <element1 attrib11=value1>

      <element2 attrib22=value2> 

      <element3 attrib33=value3/> 

      </element2> 

      </element1> 

       I tried looping the name-value-set and using conditional equal functoid to cause creation of the elements, but it only works on the bottom most level, element3. It sounds like multiple looping has to be used on the same name-value set, but then how do I cause creation of only one element1 and one element2?

      Thx! 

    • #19150

      It is possible. Look at the mapping screenshot at – http://nileshraul3.tripod.com/biztalk/record_mapping.JPG

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