BizTalk Utilities Xselerator XSLT IDE


Forum main page

Most active member

Login page
Register
Log out

Search page


Information Online

View our event calendar
Add general event such as an upcoming software release or conference
View all birthdays

Public image gallery
Upload your images in your profile

Profile editing page
Subscription list page
Address book page

Member list page
View the most active member
User groups listing

Private message page

TopXML Discussion Forum TopXML Discussion Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

XSLT

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Ask XML questions here] >> BizTalkers >> XSLT Page: [1]
Login
Message << Older Topic   Newer Topic >>
XSLT - 1 February 2008   
Siva

 

Posts: 104
Score: 0
Joined: 20 September 2006
Status: offline
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
Post #: 1
Page:   [1]
All Forums >> [Ask XML questions here] >> BizTalkers >> XSLT Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Email TopXML

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.063