[gme-users] .xme attribute generation

Aditya Agrawal Aditya at isis.vanderbilt.edu
Thu Jul 1 11:40:00 CDT 2004


Dear  Jeff,

You wrote:
> Maybe I'm missing something, but doesn't that dumper start
> with an MGA representation? I'm starting with an Abstract
> Syntax Tree created by parsing an IDL file, or set of IDL
> files. I'm not generating XML directly, but using Xerces to
> build a DOM tree first. An MGA representation is the end point
> of my process, rather than the starting point.
> 
[Adi] 
Why do you want to create the .xme file? Why not create the mga
directly? You can use the COM API, UDM API or the BON 2 API to create an
mga file directly. Peter please correct me if I am wrong about the BON 2
API.

Thanks,
Adi

> >
> >
> > > -----Original Message-----
> > > From: gme-users-bounces at list.isis.vanderbilt.edu
> > > [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> > > Of Jeff Parsons
> > > Sent: Wednesday, June 30, 2004 1:31 AM
> > > To: gme-users
> > > Subject: [gme-users] .xme attribute generation
> > >
> > > Hi,
> > >
> > > I'm looking at two in particular - 'relid' and
> > > 'childrelidcntr' - and I'm trying to figure out how the Dump
> > > methods in GME select values for these things when exporting
> > > a model to XML. A simple rule applies for each:
> > >
> > > relid - starts at 0x0 in each scope and increments
> > > childrelidcntr - total number of contained FCOs + Folders
> > >
> > > most of the time, but not always :(.
> > >
> > > I'm writing a tool that does the reverse of an interpreter,
> > > generating an *.xme file to be imported into GME, and I want
> > > to make sure I generate these values correctly. Can anyone
> > > shed some light on this?
> > >
> > > thanks,
> > >
> > > Jeff Parsons
> > > _______________________________________________
> > > gme-users mailing list
> > > gme-users at list.isis.vanderbilt.edu
> > > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users


More information about the gme-users mailing list