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

Subject: Re: Use of XSLT in "template driven code generation"
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 12 Oct 2001 10:14:48 -0400
xslt template driven
[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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.