* 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.

Michael
-- 
[EMAIL PROTECTED]                              http://www.miwie.org
[EMAIL PROTECTED]

Reply via email to