Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inner and outer loop using XSL

Status
Not open for further replies.

Kenbla

Programmer
Oct 11, 2006
68
0
0
SE
Hi there, I have a question for you XSL hackers!
I have an XML file that looks something like this:
<Artist 1>
<Recording 1>
<Recording 2>
<Recording 3>
<Artist 2>
<Recording 1>
<Recording 2>
<Recording 3>
<Recording 4>
<Artist 3>
<Recording 1>
<Recording 2>
etc. etc.
I want to process all artists and for each of them I'd like to process each recording. I'm sure it's quite simple but I don't know how to do it!
I guess I have to use an outer loop for each artist and an inner loop for all recordings for that artist.
Any help is greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top