At 07:35 PM 12/20/2001 +0100, Lukas Kubin wrote:
>Now, when I wish to process XML document with ConTeXt, I have to write
>which XML elements to replace with which ConTeXt's. ConTeXt internaly
>exchanges it and translates into PDF, DVI, ... So no TeX document is on
>the way. I only have XML source, ConTeXt mapping and the result of TeX
>process (or is? maybe I just don't know how to get it). It might be useful
>to have the TeX file available for some specific changes. I could do it
>with XSLT but why, when I already did similar work with creating the
>XML->ConTeXt mapping file.
>I don't know how hard this is to implement but maybe someone else would
>find it useful too.
You can probably do most of what you want by setting up context commands or
create specific (new) instances of core functionality. Depends on what you
want to change.
Another option is to add processing instructions (i.e. insert additional
context code in the xml document)
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
-------------------------------------------------------------------------