History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: CORE-56
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Chad Brandon
Reporter: Chad Brandon
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
AndroMDA Core

Add a n XSLT transformation pipeline

Created: 04/Apr/05 08:32 PM   Updated: 17/Apr/05 11:21 PM
Component/s: None
Affects Version/s: 3.0 RC1
Fix Version/s: 3.0 RC2

Issue Links:
Related
 
This issue is related to:
UMLMETA-28 MagicDraw not generating UML:Associat... Major Closed


 Description   
Users should be able to have the ability to give one or more XSTL documents (and the order which they should be supplied) to transform the model's XMI before the XMI is loaded into a repository (i.e. MDR).

 All   Comments   Change History      Sort Order:
Comment by Wouter Zoons [04/Apr/05 09:25 PM]
reminder: provide a way to allow users to modify their existing XMI using the transformation process, as already agreed this should be turned off by default

Comment by Cédric Vidal [05/Apr/05 12:28 AM]
A great source of inspiration might be Cocoon 2 which is a kick ass XML Pipelining framework (I've had a lot of fun with it in the past: http://jxcal.atilla.org/). Although, I think it would be way overhead to include as a whole in AndroMDA, the specific concept you might be interested in is the sitemap.xml:
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html

An other source of inspiration might be the XML Pipeline Definition Language released by the W3C in 2002:
http://www.w3.org/TR/xml-pipeline/

I think I heard of a java implementation once, but I don't remember where. This spec also has the advantage of being quite light compared to cocoon's sitemap.xml (Which is great, don't get me wrong).

Just my two cents ;)

Comment by Cédric Vidal [05/Apr/05 12:37 AM]
Here is the article I read about the XML Pipeline Definition Language, sorry, it is in french, and I couldn't find the original version:
http://xmlfr.org/actualites/tech/020301-0001

The interesting things are the two links:

- XPipe
http://xpipe.sourceforge.net/

- DSDL
http://www.dsdl.org/

Hope this helps.

Comment by Cédric Vidal [05/Apr/05 12:38 AM]
Oups, here is the original article in english:
http://www.xmlhack.com/read.php?item=1564

Comment by Chad Brandon [17/Apr/05 11:21 PM]
This has been added, nothing complex like Cocoon or anything, buy you can define XSL documents as transformations and they'll be applied to the model before model processing begins. Take a look at the AndroDMA Maven Plugin or the Ant task documentaion on how to use it.