[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT In the Build Process?

Subject: Re: XSLT In the Build Process?
From: Mitch Amiano <mitch.amiano@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 May 2003 11:16:43 -0400
codedom xml
Not quite what I was thinking of, but a pretty neat technique all the same.

It'd be a real useful thing to take an XML characterization of a hardware chip or controller board register set, and CodeDOM a GUI interface to peek and poke the registers.


Dion Houston wrote:
Well, I've written a test tool that uses the .NET Framework CodeDOM to
create C# or VB code.  For example, I have a tag like:

<VariableDeclaration name="var" type="System.String"/>

And this will generate:

String var;

This turned out to be quite a novel approach to the problem I was
facing.  Using this technique you can in theory generate source in any
language supported by the CodeDOM.

Dion

-----Original Message-----
From: Mitch Amiano [mailto:mitch.amiano@xxxxxxxxxxxxxxxxxxxx] Sent: Friday, May 09, 2003 12:54 PM
To: xsl-list
Subject: XSLT In the Build Process?


I've observed a team of developers using XSLT as a build tool to
generate C++ code, instead of using the UML tool that had been selected
for them (Rhapsody). They modelled various aspects of the problem domain
using XML, and used XSLT templates to pump out C++.

Reasons for their decision to go down this path included the precise
control they could exercise over the code generation framework and hence
the generated code, the ease of revising the XML inputs and XSLT
templates, and the seamless fit with their Unix based ClearCase
configuration management and "make" based build scripts.

How common is this approach? Anyone else have experience long-term
applying a similar approach?

- Mitch


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list






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.