From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60238 Path: news.gmane.org!not-for-mail From: "H. van der Meer" Newsgroups: gmane.comp.tex.context Subject: xmldoiftext Date: Sun, 18 Jul 2010 21:02:51 +0200 Message-ID: <39F42F73-BE8D-42BD-9D5F-556A83DA7524@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279479788 30310 80.91.229.12 (18 Jul 2010 19:03:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Jul 2010 19:03:08 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 18 21:03:05 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OaZ8h-0006HG-Tf for gctc-ntg-context-518@m.gmane.org; Sun, 18 Jul 2010 21:03:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 130C1C9B49; Sun, 18 Jul 2010 21:03:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KoU1DOgHI9kq; Sun, 18 Jul 2010 21:03:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 48D6CC9B0D; Sun, 18 Jul 2010 21:03:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E7CAC9B0D for ; Sun, 18 Jul 2010 21:02:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oLqjWFaSTMDa for ; Sun, 18 Jul 2010 21:02:56 +0200 (CEST) Original-Received: from paard.ic.uva.nl (paard.ic.uva.nl [145.18.40.182]) by balder.ntg.nl (Postfix) with ESMTP id E2890C9AF9 for ; Sun, 18 Jul 2010 21:02:56 +0200 (CEST) Original-Received: from [192.168.178.23] (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by paard.ic.uva.nl (8.13.1/8.13.1) with ESMTP id o6IJ2qlT006407 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 18 Jul 2010 21:02:53 +0200 X-Mailer: Apple Mail (2.936) X-CanIt-Geo: ip=82.95.102.36; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: auth (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 145.18.40.182 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:60238 Archived-At: I have a comment on the name of macro "\xmldoiftext". The name as is, seems specifically to point to something like: some_text Luckily the manual mentions here "when .. node has some content" and this implies the {yes}-branch will be taken also in case of the presence of subnodes, even if these lack text content: I am happy to find that this is indeed the behaviour, because it is what I need. Thus I am inclined to consider "\xmldoifcontent" as a better descriptive name instead of "\xmldoiftext". Or is it already too late to change its name? Hans van der Meer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________