On 8/25/2023 1:45 PM, denis.maier@unibe.ch wrote:
-----Ursprüngliche Nachricht----- Von: Hans Hagen
Gesendet: Freitag, 25. August 2023 09:06 An: Maier, Denis Christian (UB) ; mailing list for ConTeXt users Betreff: Re: [NTG-context] Re: xmldoif: checking for contents of attribute On 8/25/2023 8:22 AM, denis.maier@unibe.ch wrote:
Thanks for your help. I can use that, but why is this sort of double-checking necessary here?
because containsa in a function that has checking while find is just the lua find .. so i've added a check in that one too now but no upload
So, that would mean that the double checking is only necessary for find, not for contains. And indeed the example below works. Is that correct or are there any unwanted side-effects? correct and in the next upload i'll also catch the find
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------