From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65014 Path: news.gmane.org!not-for-mail From: Achim Jander Newsgroups: gmane.comp.tex.context Subject: Fwd: Re: xml-processing: missing or ungrouped '=' Date: Sat, 08 Jan 2011 11:20:48 +0100 Message-ID: <4D283A80.9090909@jander.de> 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: dough.gmane.org 1294482092 27887 80.91.229.12 (8 Jan 2011 10:21:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2011 10:21:32 +0000 (UTC) To: "ntg-context@ntg.nl >> mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 08 11:21:28 2011 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 1PbVvL-0006ew-5C for gctc-ntg-context-518@m.gmane.org; Sat, 08 Jan 2011 11:21:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74BCCCAA32; Sat, 8 Jan 2011 11:21:24 +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 sqB7AE85UgOB; Sat, 8 Jan 2011 11:21:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF3BDCAA22; Sat, 8 Jan 2011 11:21:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEE29CAA22 for ; Sat, 8 Jan 2011 11:21:20 +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 i4Sp+IYRukI8 for ; Sat, 8 Jan 2011 11:21:18 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id E2AFCCA9EE for ; Sat, 8 Jan 2011 11:21:18 +0100 (CET) Original-Received: from p15188155.pureserver.info (p15188155.pureserver.info [212.227.83.96]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p08ALHee023133 for ; Sat, 8 Jan 2011 11:21:18 +0100 Original-Received: (qmail 24060 invoked from network); 8 Jan 2011 11:21:17 +0100 Original-Received: from krlh-5f72d379.pool.mediaways.net (HELO ?192.168.1.43?) (95.114.211.121) by p15188155.pureserver.info with SMTP; 8 Jan 2011 11:21:17 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=212.227.83.96; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDQWlitG - a5d5d1eaeb63 - 20110108 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:65014 Archived-At: Am 07.01.2011 22:52, schrieb Hans Hagen: > On 7-1-2011 7:04, Achim Jander wrote: > >> \startxmlsetups xml:title >> \startchapter[ >> \xmlcommand{#1}{.}{xml:splitHeader} > > title=... Thanks. So it seems not to be possible, to have the whatever= part inside an xmlcommand? I even tried things like \xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{ownnumber=123}}{number=no} to set either ownnumber or number but with the same error Achim > >> %number=\xmldoifelse{#1}{/num}{yes}{no}, %works >> %ownnumber=\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{},%works >> >> >> %title={\xmlflush{#1}},%works > > there's also \xmlraw{#1}{spec} which works nice with tables of content > as it passes the node id > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | 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 / 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 ___________________________________________________________________________________