OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] recursive recursion

[ Lists Home | Date Index | Thread Index ]

At 04:30 PM 4/25/03 +0200, Ronald Kent Gibson wrote:
>...
>I want to output every possible permutation of each of these attributes, for
>example xa,ya,za,xb,yb,zb
>
>So I need to recurse within the recursive algorithmn, but almost every thing
>I try doesn't work.

this is not recursion. it's just one loop inside another.

in psuedo code:

foreach i in x,y
         foreach j in a,b,c
                 print i,j

i'm a newbie to xsl, but i have seen some loops around. just nest one 
inside the other. maybe you need to make one a function call.

thanks

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS