[gme-users] import xml into GME
Zoltan Molnar
zolmol at isis.vanderbilt.edu
Wed Apr 5 15:46:28 CDT 2006
status="meta" directs the parser to take the default value from the
metamodel.
Is this an explanation?
Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Naiser,
Samuel L
Sent: Wednesday, April 05, 2006 2:34 PM
To: gme-users
Subject: [gme-users] import xml into GME
I have created a GReAT Transformation to transfor data in XML format
into a GME Model.
This works fine. I then export the GME Model to XML so that I can
import this into
yet another GME Model containing objects needed for an interpreter.
The SAtimeUnits attribute is defined in the metamodel as an enum with
values: sec, ms, us, ps, ns
As you can see, the value is expected to be "ms" and always is "us", the
default.
Why does the value not become "ms" instead of the default of the enum?
<model id="id-0065-00000090" kind="SAction" role="SAction" relid="0x1"
childrelidcntr="0x0">
<name>Counter_Release_Schedule</name>
<attribute kind="RTduration">
<value>0.06009388</value>
</attribute>
<attribute kind="SAdelay" status="meta">
<value></value>
</attribute>
<attribute kind="SApriority">
<value>-1</value>
</attribute>
<attribute kind="SAtimeUnits" status="meta">
<value>ms</value>
</attribute>
<attribute kind="SAworstCase">
<value>0.0</value>
</attribute>
<attribute kind="processor">
<value>GPIOA1A</value>
</attribute>
</model>
Thank you,
Sam Naiser
Samuel L Naiser
Lockheed Martin Aeronautics
samuel.l.naiser at lmco.com
Office: 817-935-3839
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060405/101c28a7/attachment.htm
More information about the gme-users
mailing list