[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Use of XSLT in "template driven code generation"
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|