Home Page › Forums › BizTalk 2004 – BizTalk 2010 › loop inside expression › loop inside expression
It is a bit complicated – generally I have to make inserts into oracle db from biztalk 2004 without any third-party connector. So I have expression and call external code to do that. In my xml there are \”duplicated\” keys – like:
<rootItem>
<child>
<param1 val=\”1\”>
</child>
<child>
<param1 val=\”2\”>
<child>
</rootItem>
I can not force biztalk to make me access to both <child> sections in my orchestration – whatever I try, i have access (via message, promoted fields, etc) only to one of them, not sure now, but probably the last one <child> section. So I think about parsing xml manually in external code (I know, its ugly) and my oracle stuff there. I thought about looping over my <child> section and call some method there, but if it is not so clear to have a loop, I could make everything in an external code.