From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7436 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: XML Processing Instructions Date: Sat, 23 Mar 2002 11:08:50 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020323110822.02ca0eb0@server-1> References: <20020321203641.F375@scaprea> <20020318201136.GA7141@miwie.in-berlin.de> <20020321203641.F375@scaprea> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397900 19236 80.91.224.250 (23 Oct 2002 18:31:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:31:40 +0000 (UTC) Cc: NTG ConTeXt Original-To: Michael Wiedmann In-Reply-To: <20020323132855.GA2032@miwie.in-berlin.de> Xref: main.gmane.org gmane.comp.tex.context:7436 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7436 At 02:28 PM 3/23/2002 +0100, Michael Wiedmann wrote: >* Simon Pepping [020321 20:36]: >... > > \defineXMLprocessor[some-pi] \dosomepi > > \def\dosomepi#1{(Some PI: #1)} >... > > That is because context expects a form like . The > > data are inserted as a single token after the defined XML processor, > > and thus can be picked up by it as an argument. If no processor is > > defined, the data is ignored. > >Thanks Simon, it works like you pointed out, *but*: > >in contrary e.g. to the handling of PIs in DocBook DSSSL styleheets >*and* against my understanding of the definition for PIs, ConTeXt forces >to use a 'data' field in PIs (like ) though > alone should be sufficient. ConText stops processing the >current element content in the last case. > >Or do I still miss something. ok, i'll see if i can fix that Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-ade.nl -------------------------------------------------------------------------