Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Viseu_Prodigy on March 16, 2005, 05:39:37 am

Title: Stylesheet to post process XMI content
Post by: Viseu_Prodigy on March 16, 2005, 05:39:37 am
Hello, again...
Is there any sample of a stylesheet to use for post processing the XMI content? When i export some package to a XMI file i want to convert that content to HTML format. When i use my stylesheet, it don´t give me any error but the output is blank (0 bytes), so i think i´m doing something wrong.. a sample like a identity stylesheet would be very important! Can someone post something simple that works?

Tks
Title: Re: Stylesheet to post process XMI content
Post by: qdlaty23 on March 29, 2005, 09:55:11 am
Hi!

I'm using an XSLT Transformation to generate a special xml file containing state model with lots of information on states, decisions and transitions including tagged values.
I use XMI 1.2 export and than XSLT 1.0 transformation. If you wish, I may send you a part of this transformation. I cannot give you the whole because it's being used by my company for MDA process, however as an author of this stylesheet, I can give you part of it as well as some advice if you wish.

Greetz ;-)
Title: Re: Stylesheet to post process XMI content
Post by: Viseu_Prodigy on March 30, 2005, 07:21:15 am
Tks  :)
I forgot to tell that this problem was solved.  The stylesheet used was converting the XMI format to HTML format and this don´t work... the solution was to add the tag <xsl:output method="xml"/>

Regards