I do not think XSLT is fragile at all and specially for XML Transformations I prefer it over any DOM or SAX API approach. There are interesting efforts and results like uml2svg [1] (to visualize XMI it uses an XSLT[2]) in this area btw.
In any case while both solutions (with and without XSLT) could be fine, with the XSLT one you get the advantage of separation of concerns between the XML Mapping (XMI to SCXML) and the graphical tool you select to use. In that way of course changes to the specification do not affect the work you do for any of the specific plugin implementations (You need a plugin for each single modelling tool you want to use able to convert from specific graphical solution to XMI). Thanks, -Nestor Thanks, -Nestor [1] http://uml2svg.sourceforge.net/ [2] http://freshmeat.net/projects/xmi2svg/ --- Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 11/17/06, Nestor Urquiza <[EMAIL PROTECTED]> > wrote: > > Hi Rahul, > > I went back to the archives and I am just > wondering if > > you found out if the plugin to convert from "EMF > model > > for the statechart diagram" to "its SCXML document > > serialization" is going to be available for free? > > > <snip/> > > Last I heard [1], but it will take time (few months, > my speculation). > > > > On the other hand it is clear that we need > something > > like: > > > > UML <=A=> XMI <=B=> SCXML > > > > where A=Graphical UML tool (Rational Modeler for > > example) > > and B=XSLT > > > > The whole functionality could be accomplished thru > a > > plugin made for Rational Modeler and the main task > is > > just to write the XSLT part. > > > <snap/> > > You got the plugin part right, but it should be a > first-class > transformation plugin (each set of tooling has their > own APIs, > Rational has a transformation API that is useful > here). XSLT is going > to be fragile (not to mention tricky to begin with > -- have you seen > the raw XMI ;-) > > > > Of course if the plugin has already be developed > > applying DRY we should just get is, use it and > extend > > it if necessary (SCXML is still a Draft so some > > extensions will be necessary). > > > <snip/> > > Agreed. > > -Rahul > > [1] > http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=116232392213049&w=2 > > > > Thoughts? > > > > Thanks, > > > > -Nestor > > > > > > [1] http://uml2svg.sourceforge.net/ > > [2] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Sponsored Link Mortgage rates near 39yr lows. $420k for $1,399/mo. Calculate new payment! www.LowerMyBills.com/lre --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
