From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1118 invoked from network); 25 Aug 2023 07:07:16 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2023 07:07:16 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EEE92482EEE for ; Fri, 25 Aug 2023 09:06:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lR30SKEA0YEk for ; Fri, 25 Aug 2023 09:06:26 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AB6B9482E22 for ; Fri, 25 Aug 2023 09:06:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5C807482D77 for ; Fri, 25 Aug 2023 09:05:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qeFfjbA3ZTrU for ; Fri, 25 Aug 2023 09:05:48 +0200 (CEST) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 0863C482D76 for ; Fri, 25 Aug 2023 09:05:47 +0200 (CEST) X-KPN-MessageId: 4db3da60-4315-11ee-ac30-005056994fde Received: from smtp.kpnmail.nl (unknown [10.31.155.6]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 4db3da60-4315-11ee-ac30-005056994fde; Fri, 25 Aug 2023 09:02:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=WFOmyF+UqcehKhp/i2EJwb7rojN/M6SNBlivfzKa924=; b=mtoxNwfd0PktYSQJ89ID9vrN8AdRvidqxYH6JMKvf57g7J8SiNzHsM/9eCXGJqknLwN+QwWMEtQSV 3vMAwtNcwu9v+UUuY9X7FplfcFaNjxJHIJODN6ocD5cVC4L8C4KxKxcj4FEpTc3eC9NKTPUFtkJvN/ eRnwHfIkQ64qL5odiMQte85Z1LiYTU8z3O+BB+XZIRNPsSDPTMOCzKdsodupfcJHKb0TJmP4kQ8WzU 6q3P+vflHB6IwbG2fsWkkeXqKOpKTBaR91g0VxLc7Hp8WDaGxwBEoMsUNrnxf0JDS/ErWfDdrYXm6C /s1D3Of3uc/qWxhG+IwCanMUmZzl13g== X-KPN-MID: 33|hDGcZ/kEeiZDWi6/IZee9VkPYThnA0C7FBfRpO/8NiUGCWXqZmQbPthQw9jEmaw oENPuV1VC3o9ki5aFkkbsdg== X-KPN-VerifiedSender: Yes X-CMASSUN: 33|0BuS5jhkXz168Cw/qWpGiWecT51U3fTvvxyvvnhohjJj5wluYzXmrUGw84PmOSi 7eCW9X644wRtoeTP0RyoiOw== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id d0e46470-4315-11ee-b743-00505699772e; Fri, 25 Aug 2023 09:05:47 +0200 (CEST) Message-ID: <0e5968e6-ad6f-4838-5d90-d559484f6892@xs4all.nl> Date: Fri, 25 Aug 2023 09:05:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US To: denis.maier@unibe.ch, mailing list for ConTeXt users References: From: Hans Hagen In-Reply-To: Message-ID-Hash: EVRJ727JV3EXAMOR6MUSBMDRCD2E7IMZ X-Message-ID-Hash: EVRJ727JV3EXAMOR6MUSBMDRCD2E7IMZ X-MailFrom: j.hagen@xs4all.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: xmldoif: checking for contents of attribute List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit 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 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________