[NTG-context] XML xmldoif struggle!

Pablo Rodriguez oinos at gmx.es
Thu May 2 14:47:36 CEST 2019


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 contains(text(),'EURO')]}
        {Euro set!}

I hope it works fine now.

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list