At 02:28 PM 3/23/2002 +0100, Michael Wiedmann wrote:
>* Simon Pepping <[EMAIL PROTECTED]> [020321 20:36]:
>...
> > \defineXMLprocessor[some-pi] \dosomepi
> > \def\dosomepi#1{(Some PI: #1)}
>...
> > That is because context expects a form like <?pi-name pi-data?>. 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 <?line-break true?>) though
><?line-break?> 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 | [EMAIL PROTECTED]
                       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
-------------------------------------------------------------------------

Reply via email to