OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

energyinterop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [energyinterop] Generating attribute tables in EA


If what you need is a simple extract that can be used to create a table the one below is a simple option.

Create the document as RTF, go to templates tab, select new, paste what’s below from package > to < package.

Create the RTF file and copy that file into a spreadsheet and change text to data with ^ as the separator.

You can probably take out the REPLACEWEMPTSTRING literal; sometimes the new line is not created correctly.

 

Seems like a lot of steps, but I am not aware of any way to directly create a table format.

 

package >

element >attribute >

{Att.ParentElement}^{Att.Name}^{Att.Datatype}^{Att.Stereotype}^{Att.LowerBound}^{Att.Notes}REPLACEWEMPTYSTRING^

< attribute

child elements >

< child elements

< element

child packages >

< child packages

< package

 

Bruce Bartell

Xtensible Solutions

Mobile: +1.321.258.6500

bbartell@xtensible.net  |   www.xtensible.net

 

-----Original Message-----
From: Gerald Gray [mailto:gerald.gray@guiding-principle.com]
Sent: Wednesday, May 18, 2011 8:50 AM
To: energyinterop@lists.oasis-open.org
Subject: [energyinterop] Generating attribute tables in EA

 

I think this topic came up in one of last week's calls; that is, we wanted to include attribute tables in the documentation and whether there was an easy way to do this. 

 

In EA you can select the class that you would like to create a document for, press F8 and document generator dialog will appear.  From this dialog give the document a name, select a template (basic is a good one to start with) and click the generate button.  This will generate a document that contains everything stored in EA, the class associations, and narrative that has been captured, and a table of attributes and their descriptions (if captured in EA). 

 

The resulting table can then be copied and pasted into your document of choice. 

 

If a specific class is not selected the entire model will be captured in the resulting document, attributes, sequence diagrams, etc. (again using the basic template).  Other templates provide other capabilities and of course, one can create their own template.

 

 

Gerald R. Gray, PhD

Guiding Principle Consulting

PO Box 381

Laingsburg, MI 48848

cell: 517.455.4824| fax: 517.913.6024

 

 

 

 

---------------------------------------------------------------------

To unsubscribe from this mail list, you must leave the OASIS TC that

generates this mail.  Follow this link to all your TCs in OASIS at:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]