W3C home > Mailing lists > Public > xproc-dev@w3.org > January 2012

RE: Generating XSL / XProc

From: Geert Josten <geert.josten@dayon.nl>
Date: Wed, 4 Jan 2012 20:07:22 +0100
Message-ID: <38960ef8fa62bc7895b8e0ee05949a65@mail.gmail.com>
To: Zearin <zearin@gonk.net>, XProc Dev <xproc-dev@w3.org>
Hi Zearin,



I agree with Philip that there are no big secrets to it. I generated XSLT
with XSLT (using tricks similar to those of Philip, and some more to copy
unused namespace declarations to the target xsl for instance), I also
generated XQuery using XQuery (which is even simpler, and I was also
thinking of generating XProc using XSLT/XProc (allowing for syntactic
enrichments, common short-hands, etc).



Biggest problem is to bend your mind around the idea, and keeping track
what belongs to the actual code being executed, and what belongs to the
code being generated.



So, with regard to tools: any would do, but I’d use XML standards
themselves if possible.



I am not aware of papers, blog articles or tutorials about this. But that
can be fixed if you think that would help you a lot.. ;-)



Kind regards,

Geert



*Van:* Zearin [mailto:zearin@gonk.net]
*Verzonden:* woensdag 4 januari 2012 16:08
*Aan:* XProc Dev
*Onderwerp:* Generating XSL / XProc



I’m interested in learning how to use XML tools to generate XSL and/or
XProc (code skeletons are just fine—anything extra is a delightful bonus).



   - Are there documents that teach how to do this?
   - Are there existing tools available for accomplishing this?
   - Any other general advice, comments, suggestions on this topic?



Thanks!



—Zearin

    (Tony)
Received on Wednesday, 4 January 2012 19:07:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 January 2012 19:07:54 GMT