[NTG-context] Custom XML Export

Hans Hagen pragma at wxs.nl
Sat Sep 12 14:14:26 CEST 2015


On 9/12/2015 2:04 PM, Henning Hraban Ramm wrote:
> Am 2015-09-12 um 17:37 schrieb Toby Miller <tobycmiller at gmail.com>:
>
>> I have a few other things I'd like to be able to do with this kind of
>> thing (print '<br />' self-closed tags for example, and add attributes
>> as you say), but I feel bad about posting to the list for them. Is there
>> any documentation for these features at all? I couldn't find any
>> reference to the \startelement command when I looked, but perhaps I'm
>> looking in the wrong place.
>>
>> I'll take your advice and not try to adapt the export system. Now that I
>> can print tags at least I think XML transformation should be able to
>> deal with everything I need if it comes to it.
>
> Hi Toby, have a look at
>
> http://wiki.contextgarden.net/XML
> http://wiki.contextgarden.net/Export
> http://wiki.contextgarden.net/ePub
>
> Since my ePub workflow is now running, I’ll hopefully soon enhance these pages...
>
> There’s also a useful manual in texmf-context/doc/context/documents/general/manuals/epub-mkiv.pdf
>
> Do you know a good XSLT processor except Saxon? Its free version is just too limited.

I must admit that it's years ago that I really looked into it but we use 
xsltproc for generating the website (each time we update the 
distrubution we regenerate the pages). If I had to transform I'd use 
xsltproc.

http://xmlsoft.org/XSLT/xsltproc2.html

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


More information about the ntg-context mailing list