From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53805 Path: news.gmane.org!not-for-mail From: Jelle Huisman Newsgroups: gmane.comp.tex.context Subject: Re: filter contents of xml elements Date: Wed, 28 Oct 2009 17:16:33 +0000 Message-ID: <4AE87C71.6080306@jhnet.nl> References: <4AE860A1.9000200@jhnet.nl> <4AE86419.7060401@elvenkind.com> <4AE8683A.4040406@jhnet.nl> <4AE87761.5010401@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256750228 20098 80.91.229.12 (28 Oct 2009 17:17:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2009 17:17:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 28 18:17:01 2009 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.50) id 1N3C8o-0007R0-DV for gctc-ntg-context-518@m.gmane.org; Wed, 28 Oct 2009 18:16:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54386C9B35; Wed, 28 Oct 2009 18:15:41 +0100 (CET) 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 fRTeaxkOOFMS; Wed, 28 Oct 2009 18:15:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F63CC9AF5; Wed, 28 Oct 2009 18:15:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E29EBC9AC1 for ; Wed, 28 Oct 2009 18:15:34 +0100 (CET) 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 JULT2+b9LtFn for ; Wed, 28 Oct 2009 18:15:22 +0100 (CET) Original-Received: from smtp1.wsfo.org (smtp1.wsfo.org [208.145.81.51]) by balder.ntg.nl (Postfix) with ESMTP id 18C85C9AF5 for ; Wed, 28 Oct 2009 18:15:21 +0100 (CET) Original-Received: from mail.link77.net (cgp2.mail.link77.net [172.22.65.14]) by smtp1.wsfo.org (8.13.8/8.13.8) with ESMTP id n9SHGZoo005325 for ; Wed, 28 Oct 2009 13:16:36 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.9.5 (ClamAV engine v0.95.2) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.9.5 (ClamAV engine v0.95.2) X-ExternalMail: External Original-Received: from [172.17.1.94] (account jelle_huisman@sil.org HELO jelle-macbook.local) by cgp2.mail.link77.net (CommuniGate Pro SMTP 5.2.16) with ESMTPSA id 16513059 for ntg-context@ntg.nl; Wed, 28 Oct 2009 13:16:35 -0400 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4pre) Gecko/20090915 Lightning/1.0pre Thunderbird/3.0b4 In-Reply-To: <4AE87761.5010401@wxs.nl> X-Scanned-By: MIMEDefang 2.62 on 172.22.65.23 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:53805 Archived-At: On 28/10/2009 16:54, Hans Hagen wrote: > \startxmlsetups xml:h3 > \xmldoifnot {#1} {[text()='Skip title']} { > \subject{\xmlflush{#1}} > } > \stopxmlsetups > > or: > > \xmlsetsetup {main} {h3[text()='Skip title']} {-} OK thanks, that's even better. Jelle ___________________________________________________________________________________ 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 ___________________________________________________________________________________