From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92543 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Custom XML Export Date: Sat, 12 Sep 2015 14:14:38 +0200 Message-ID: References: <55F2E365.7000007@gmail.com> <55F3F5FE.1030406@wxs.nl> <55F40E7A.8010902@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0597201060==" X-Trace: ger.gmane.org 1442060378 18903 80.91.229.3 (12 Sep 2015 12:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2015 12:19:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 12 14:19:27 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zajm9-0007VA-AX for gctc-ntg-context-518@m.gmane.org; Sat, 12 Sep 2015 14:19:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC91A10210 for ; Sat, 12 Sep 2015 14:19:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ohdMBre0mpMy for ; Sat, 12 Sep 2015 14:19:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E2F0610259 for ; Sat, 12 Sep 2015 14:16:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7096410206 for ; Sat, 12 Sep 2015 14:16:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IWRPFrlIQSPb for ; Sat, 12 Sep 2015 14:16:00 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 27E19102A7 for ; Sat, 12 Sep 2015 14:14:40 +0200 (CEST) Original-Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) by filter3-utr.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8CCEc6q003252 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 12 Sep 2015 14:14:39 +0200 Original-Received: by lbcjc2 with SMTP id jc2so50610335lbc.0 for ; Sat, 12 Sep 2015 05:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uIXN34R/cb1MO92OAF0ElfZR50ccoJZuMR0EFhFRcLY=; b=XHLDXecbgfim4A/1nX2EXC45308K3V6ieI9q5JrnBJdbIJmg+0GDMWBscJSDtO7w7W cJ1nNV71Pd8R2h+ONaqH5qH6PIRcVuqsYzPQqh0aNlSZrCpbieYXjYkmMpm/gBDqsIRD K2XaR8GeH0g8oYjt3k0T3TL/5LgFF2yCff3FT72JicPhwBHyPuQiPtDub86pQam1GwV5 DYESTitR+mnC2gj7u4tZMbDk4upRh2XdxOBiMoxgvifkoKu9Ly6U+OI7kIEw3dXzHySX HMkztX/JeoDdkorbCAqd2nbCNBkpDvPxrU1OuFs2NpUyBJb77GGLzbMrKzMXOiywG2cJ aU1Q== X-Received: by 10.112.198.97 with SMTP id jb1mr3554132lbc.8.1442060078645; Sat, 12 Sep 2015 05:14:38 -0700 (PDT) Original-Received: by 10.112.136.167 with HTTP; Sat, 12 Sep 2015 05:14:38 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::22d; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08PgceDoo - b6829462b05f - 20150912 (trained as not-spam) Received-SPF: pass (filter3-utr.mf.surf.net: domain of luigi.scarso@gmail.com designates 2a00:1450:4010:c04::22d as permitted sender) receiver=filter3-utr.mf.surf.net; client-ip=2a00:1450:4010:c04::22d; envelope-from=; helo=mail-lb0-x22d.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92543 Archived-At: --===============0597201060== Content-Type: multipart/alternative; boundary=001a11c33c7abb8a00051f8bc6b6 --001a11c33c7abb8a00051f8bc6b6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Sep 12, 2015 at 2:04 PM, Henning Hraban Ramm wrote= : > Am 2015-09-12 um 17:37 schrieb Toby Miller : > > > I have a few other things I'd like to be able to do with this kind of > > thing (print '
' self-closed tags for example, and add attributes > > as you say), but I feel bad about posting to the list for them. Is ther= e > > 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=E2=80=99ll hopefully soon enhanc= e these > pages... > > There=E2=80=99s 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. > > xsltproc for xslt 1.0, but you are looking for xslt 2.0 , right ? --=20 luigi --001a11c33c7abb8a00051f8bc6b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat, Sep 12, 2015 at 2:04 PM, Henning Hraban Ramm = <texml@fiee.net&= gt; wrote:
Am 201= 5-09-12 um 17:37 schrieb Toby Miller <tobycmiller@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 the= re
> any documentation for these features at all? I couldn't find any > reference to the \startelement command when I looked, but perhaps I= 9;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=E2=80=99ll hopefully soon enhance = these pages...

There=E2=80=99s 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 to= o limited.


xsltproc for xslt 1.0, but you are loo= king for xslt 2.0 , right ?

--
luigi
--001a11c33c7abb8a00051f8bc6b6-- --===============0597201060== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0597201060==--