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