Re: [NTG-context] XML xmldoif struggle!

2019-05-02 Thread Pablo Rodriguez
On 5/1/19 9:28 PM, Geert Verhaag wrote: > Hoi Pablo, > > Thanks for your prompt reply! > > The output Euro set! is printed always, it doesn't matter whether I put > EURO or DOLLAR first?! Hi Geert, my fault, the conditional should read: \xmldoif{#1}{currency[position()==1 and

Re: [NTG-context] XML xmldoif struggle!

2019-05-02 Thread Aditya Mahajan
On Thu, 2 May 2019, Geert Verhaag wrote: Yes, I got it working! It is somewhat tricky. Trying to understanding the concepts behind all this isn't easy for me, but I'm bashing on. I also find understanding XML processing rules to be complicated. I simply convert the XML to a lua table, and

Re: [NTG-context] XML xmldoif struggle!

2019-05-02 Thread Geert Verhaag
Hi Pablo, Yes, I got it working! It is somewhat tricky. Trying to understanding the concepts behind all this isn't easy for me, but I'm bashing on. Thanks! Regards, Gerard On 02-05-19 14:47, Pablo Rodriguez wrote: On 5/1/19 9:28 PM, Geert Verhaag wrote: Hoi Pablo, Thanks for your