Dynamic Tag Generation

Home Page Forums BizTalk 2004 – BizTalk 2010 Dynamic Tag Generation

Viewing 1 reply thread
  • Author
    Posts
    • #16906

      Hi,

      <Name1> <FirstName1=qqq><LastName1=lll></Name1>

      i have to generate according to repetition <Name2> <FirstName2=qqq><LastName2=lll></Name2>……..<Namen> <FirstNamen=qqq><LastNamen=lll></Namen>

      I know we can generating schema and we can generation output according to looping records….

      How i can do this in biztalk  dynamicaly generate nodes and elements on th fly…is that XSLT map? then how?

      any Inputs appreciated.

      Thanks

       

       

       

    • #16913

      Yes, you need to used Xslt, either Inline Xslt in a scripting finctoid or a custom Xslt file

      <xsl:for-each select="inputrecord">
      <xsl:variable name="var:v1" select="'firstname' + ./position()" />
          <xsl:element name="{$var:v1}">
               <xsl:value-of select="."/>
          </xsl:element>
      </xsl:for-each>

      Not sure of concatenation rules with Xpath, might have to look that one up.

       

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