Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / September 2007

Tip: Looking for answers? Try searching our database.

Generating xml using enterprise architect

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arlene Reid - 26 Sep 2007 10:58 GMT
Hi all

I need to use enterprise architect to create class diagrams with all
their various atrributes and relationship. I then need to generate xml
from this class diagram. Has anyone tried doing this?

Please let me know ASAP
Thanks
John Saunders [MVP] - 26 Sep 2007 14:54 GMT
> Hi all
>
> I need to use enterprise architect to create class diagrams with all
> their various atrributes and relationship. I then need to generate xml
> from this class diagram. Has anyone tried doing this?

Which "Enterprise Architect" product are you referring to?
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Arlene Reid - 26 Sep 2007 15:52 GMT
On Sep 26, 3:54 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:

> > Hi all
>
[quoted text clipped - 6 lines]
> ---------------------------------------------------------------------------?-----
> John Saunders | MVP - Windows Server System - Connected System Developer

Hi John

i'm using 6.5 if thats what you mean?
John Saunders [MVP] - 26 Sep 2007 18:43 GMT
On Sep 26, 3:54 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> "Arlene Reid" <arlene.r...@gmail.com> wrote in message
>
[quoted text clipped - 10 lines]
> ---------------------------------------------------------------------------­-----
> John Saunders | MVP - Windows Server System - Connected System Developer

Hi John

i'm using 6.5 if thats what you mean?

No, I meant which of  the products called "Enterprise Architect" are you
using? Who is the manufacturer of the product?

"Enterprise Architect" is a fairly generic term, and you could be referring
to one of several different products.
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Arlene Reid - 27 Sep 2007 12:01 GMT
On Sep 26, 7:43 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> On Sep 26, 3:54 pm, "John Saunders [MVP]" <john.saunders at
>
[quoted text clipped - 26 lines]
> ---------------------------------------------------------------------------?-----
> John Saunders | MVP - Windows Server System - Connected System Developer

The Enterprise Architect i'm using is used to create UML diagrams and
then it generates code for these diagrams. I would like to be able to
draw a class diagram and then generate the xml accordingly
John Saunders [MVP] - 27 Sep 2007 12:49 GMT
On Sep 26, 7:43 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> "Arlene Reid" <arlene.r...@gmail.com> wrote in message
>
[quoted text clipped - 30 lines]
> ---------------------------------------------------------------------------­-----
> John Saunders | MVP - Windows Server System - Connected System Developer

The Enterprise Architect i'm using is used to create UML diagrams and
then it generates code for these diagrams. I would like to be able to
draw a class diagram and then generate the xml accordingly

Ok, you mean "Sparx Enterprise Architect". I use it too.

You can do what you want by using transformations. In the Project Browser,
right-click the package containing your classes and choose Transform Current
Package. In the dialog that follows, choose which package elements you want
to transform, and in the right-hand panel choose which transformations you
want to run (XSD to transform into XSD).  When you choose a target
transformation, you will be prompted to choose a destination for the
transformed package.

Click "Do Transformation", and your classes will be transformed into an XML
Schema model. You can then export that model as an XSD file.

I've recently done this with a reverse-engineered database model. EA was
able to transform the tables, columns and relationships of that model into
the equivalent XSD. It even transformed the descriptions of the columns into
<xs:documentation/> in the XSD!

I understand that you can customize existing transforms or write your own.
This is a very powerful tool.
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Arlene Reid - 27 Sep 2007 15:30 GMT
On Sep 27, 1:49 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> On Sep 26, 7:43 pm, "John Saunders [MVP]" <john.saunders at
>
[quoted text clipped - 63 lines]
>
> - Show quoted text -

yes i have seen this feature but i'm interested in genereating my own
xml file with its own elements and attributes
John Saunders [MVP] - 27 Sep 2007 16:59 GMT
On Sep 27, 1:49 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> "Arlene Reid" <arlene.r...@gmail.com> wrote in message
>
[quoted text clipped - 73 lines]
>
> - Show quoted text -

yes i have seen this feature but i'm interested in genereating my own
xml file with its own elements and attributes

----------
Ok, you could either use their object model, program directly against the
repository (a .EAP file is a Jet database), or you could export the model to
XMI and then use an XSL transform to transform that into the format you
want.

You'll probably get more feedback on the Sparx Forums
(http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi).  You and I may be
the only EA users in this newsgroup!
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.