Subject: Re: [xsl] Use of XSLT in "template driven code generation" From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx> Date: Fri, 12 Oct 2001 10:14:48 -0400 |
[Soumen Sarkar] > > This post is to point out a relatively unknown use of XSLT. > > For the last few months I have used XSLT (SAXON XSLT processor) to > generate code in an application software project. I would like to > emphasize here that XSLT is typically used in document transform > (XML to WML or HTML) scenario and this misses the point that it > could be used very flexibly in "template driven code generation". > > My experience of using XSLT to achieve code generation is documented > in the paper, available at: > > http://www.geocities.com/sarkar_soumen/papers/codegen.pdf > > If you have any problem downloading the paper, mail me at > sarkar_soumen@xxxxxxxxx > I always like these kinds of applications, but they are not as new as you might think. Code generation from templates using xslt is discussed at length in Cleaveland's book "Program Generators with XML and Java" (Prentice Hall 2001), for example. I myself have generated javascript data structures from xml files using xslt templates, although that is not a general framework. Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Use of XSLT in "template , Evan Lenz | Thread | [xsl] Inserting Image, Kiran Bhide |
RE: [xsl] Conditional counting, Hunsberger, Peter | Date | Re: [xsl] Problem with document() f, Gustaf Liljegren |
Month |