Re: [NTG-context] Reverse traversing of xml.collected()?

2020-11-10 Thread Jano Kula
Hello! On Fri, 1 May 2020 at 14:06, Gerben Wierda wrote: > > > On 1 May 2020, at 13:30, Hans Hagen wrote: > > On 5/1/2020 11:31 AM, Gerben Wierda wrote: > > I’d like to travese the contents of an xml.collected() in a reverse order. > > it's an iterator > > What is the correct way to do it? > >

Re: [NTG-context] Reverse traversing of xml.collected()?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 13:30, Hans Hagen wrote: > > On 5/1/2020 11:31 AM, Gerben Wierda wrote: >> I’d like to travese the contents of an xml.collected() in a reverse order. I >> have >> for connectionFromXML in xml.collected(viewFromXML,"/connection") do >> parseXMLConnection(

Re: [NTG-context] Reverse traversing of xml.collected()?

2020-05-01 Thread Hans Hagen
On 5/1/2020 11:31 AM, Gerben Wierda wrote: I’d like to travese the contents of an xml.collected() in a reverse order. I have     for connectionFromXML in xml.collected(viewFromXML,"/connection") do       parseXMLConnection( rootFromXML, connectionFromXML, viewFromXML, rootFromOverrideXML)

[NTG-context] Reverse traversing of xml.collected()?

2020-05-01 Thread Gerben Wierda
I’d like to travese the contents of an xml.collected() in a reverse order. I have for connectionFromXML in xml.collected(viewFromXML,"/connection") do parseXMLConnection( rootFromXML, connectionFromXML, viewFromXML, rootFromOverrideXML) end I tried: local relationTable =