Biztalk Looping functoid Problem at nested level during Mapping.

Home Page Forums BizTalk 2004 – BizTalk 2010 Biztalk Looping functoid Problem at nested level during Mapping.

Viewing 1 reply thread
  • Author
    Posts
    • #17650

      I am trying to write a mapper. whose input xml is in the format:

      <OR_Items>
      <Item>
        <Name>item1</Name>
        <Value>item1Value</Value>
      </Item>
      <Item>
        <Name>item2</Name>
        <Value>item2Value</Value>
      </Item>
      <LineItems LineItemName="123">
       <SubItems>
        <SubItem>
          <Name>subitem1</Name>
         <Value>subitem1Value</Value>
        </SubItem>
        <SubItem>
         <Name>subitem2</Name>
         <Value>subitem2Value</Value>
       </SubItem>
       </SubItems>
       <SubItems>
        <SubItem>
          <Name>1</Name>
         <Value>value</Value>
        </SubItem>
        <SubItem>
         <Name>name</Name>
         <Value>value</Value>
       </SubItem>
       </SubItems>
        </LineItems>
      <LineItems LineItemName="abnbdf">
       …..
      …..
      </LineItems>
      <OR_Items>

      where Name contacins the name of anyitem and value contanes value.I want to
      convert this into a simple xml like:

      <OutputXml>
      <item1>item1Value</item1>
      <subitem1>subitem1Value</subitem1>
      <subitem2>subitem2Value</subitem2>
      </OutputXml>

    • #17656

      The mapping tool itself is not intended to generate tag names on the fly. Why don't you use inline XSLT where you can do this type of thing?

      Kindly let us know your successes.

       -wa
       

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