none
How do I map between <ANY> elements between source and destination

    Question

  • Hi

    How do i do a mapping beteween ANY elements between source and destination

    pls advice


    Regards Suresh

    Sunday, August 6, 2017 4:02 PM

Answers

  • Hi Suresh,

    Refer: Links To and From the Any Element and anyAttribute Nodes

    Snippet:

    You must use the Mass Copy functoid to map elements containing any or anyAttribute nodes. BizTalk mapper does not support direct linking between any or anyAttribute nodes. The any and anyAttribute nodes, in combination with the Mass Copy functoid, are most commonly used to map sections of HTML documents.


    Rachit Sikroria (Microsoft Azure MVP)

    • Marked as answer by SureshRKumar Monday, August 7, 2017 12:21 PM
    Sunday, August 6, 2017 10:17 PM
    Moderator

All replies

  • Hi Suresh,

    Refer: Links To and From the Any Element and anyAttribute Nodes

    Snippet:

    You must use the Mass Copy functoid to map elements containing any or anyAttribute nodes. BizTalk mapper does not support direct linking between any or anyAttribute nodes. The any and anyAttribute nodes, in combination with the Mass Copy functoid, are most commonly used to map sections of HTML documents.


    Rachit Sikroria (Microsoft Azure MVP)

    • Marked as answer by SureshRKumar Monday, August 7, 2017 12:21 PM
    Sunday, August 6, 2017 10:17 PM
    Moderator
  • Hi,

    Depends upon your requirement,

    IF you just want to copy all the elements in the ANY type from source to destination, then using a mass copy functoid will solve the issue. If there is certain logic that you need to implement on some of the elements in the any type then you will have to write a custom xsl template and call that using the scripting functoid.


    Mandar Dharmadhikari

    Monday, August 7, 2017 5:32 AM
    Moderator