Repeating element to flat schema

Home Page Forums BizTalk 2004 – BizTalk 2010 Repeating element to flat schema

Viewing 1 reply thread
  • Author
    Posts
    • #22869

      Hello all

      I’ve got a problem

      I have a source xml shema that looks basically like this
      <root>
      <typedate>
      <type/>
      <date/>
      </typedate>
      </root>

      the “typedate” element can occurs 3 times

      I want to produce this schema (in fact an updategram to insert in DB)

      <root>
      <element datetype1=”” datetype2=”” datetype3=”” />
      </root>
      where datetype1 is the date form source if type from source equals 1,
      etc…

      I tryed many thigs (loop ans so on…) but it seems that the typedate
      element from source is only read once by the mapper, the 2 other
      occurence are not used and datetype2 datetype3 are not filled in the
      destination schema

    • #22882

      did you try setting the maxoccurs to unbounded for typedate

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