functoid & schema

Home Page Forums BizTalk 2004 – BizTalk 2010 functoid & schema

Viewing 1 reply thread
  • Author
    Posts
    • #14632

      Hi,
      I got a messagge with this schema
      A(root)
      -B(record field unbound)
      –C (element field)
      –D (element field)
      –E (record field max 1 occurence)
      — F (element field)
      — G (record field unbound)
      —- H (element field)
      —- I(element field)
      I need to map this messagge to another with the same schema, but I most map just one element B with all child element(I got a loop in the orchestration that makes this trasformation for each B element)
      I can extract C,D element whith index FUnctoid, but I don’t know how to map H e I element. How can I say to Biztalk \”copy the G node with all child element at B[index] position\”?
      Any suggestion?
      Thank you…and sorry for my bad english!!! 😳

    • #14633

      You could use a scripting functoid with this inline XSLT
      [code:1:1a3db90128]<ns0:A xmlns:ns0=\"yourschematargetnamespace\">
      <xsl:copy-of select=\"B[index]\"/>
      </ns0:A>[/code:1:1a3db90128]

      How are you going to pass the index of B into the transformation

      Have you considered debatching the message in a pipeline or using xpath in the orchestration?
      .

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