[NTG-context] XML xmldoif struggle!

Geert Verhaag verhaaggchm at ziggo.nl
Thu May 2 21:38:44 CEST 2019


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 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
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


More information about the ntg-context mailing list