Mapping: multiple elements to one

Home Page Forums BizTalk 2004 – BizTalk 2010 Mapping: multiple elements to one

Viewing 1 reply thread
  • Author
    Posts
    • #21663

      Hello,
      I try to map the following xml files, but i don´find any solution..has anybody an idea?

      Source:
      <root>
        <element name=”car”>ford</element>
        <element name=”color”>red</element>
        …
      </root>

      Target:
      <vehicle car=”ford” color=”red” … />

      best regards

       

    • #21666

      You need to use the Logical Equals (LEq)  and Value Mapping(Flattening) (VM(f))  functoids

      element/@name  — LEq (“car”)   —   VM(f)   ——–   vehicle/@car
      element ————————————-|

      element/@name  — LEq (“color”)   —   VM(f)   ——–   vehicle/@color
      element —————————————-|

      • #21671

        Thanks a lot! I used the Value Mapping functoid instead of Value Mapping (Flattening). Now it works 🙂

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