XSLT issue

Viewing 0 reply threads
  • Author
    Posts
    • #18859

      Hi

      Could someone explain me how this xslt works in biztalk? if i want to change the node path to full path, how to do it?

      <xsl:variable name=”unique-countries”

      select=”//cities/city[not(@country=preceding-sibling::city/@country)]/@country” />

      <countries>

                <xsl:for-each select=”$unique-countries”>

                        <country name=”{.}”>

                                <xsl:for-each select=”//city[@country=current()]”>

                                      <city><xsl:value-of select=”@name” /></city>

                              </xsl:for-each>

                      </country>

              </xsl:for-each>

        </countries>

       

      I am working on grouping nodes using XSLT in biztalk. I used the above XSLT ( i got it from online) and I got output without child nodes, Cuntry. 

      It looks like It didn’t enter into for loop. I think I need to give node full path.

      Could someone tell me which places i need to change? I tried, no luck so far.

       

      Thank you in advance,

      Siva

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