Book a Demo

Author Topic: Import/Export as XML  (Read 2602 times)

glackenmjg

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Import/Export as XML
« on: May 19, 2003, 03:15:44 pm »
We exported some sequences as XML and tried to import them on another PC.  The import gave errors about not finding the DTD UML_EA.dtd, which is mentioned on the second line of our exported file:
<!DOCTYPE XMI SYSTEM "UML_EA.dtd">

I found this file, UML_EA.dtd,  in the install directory of EA:
C:\Program Files\Sparx Systems\EA\UML_EA.DTD
and so I copied it to my working directory.

The file now imports.

Question: Is this the preferred method? or:
--  does one normally modify the DTD reference in the exported file?
-- can we set some PATH type variable in EA to look in the install directory?
???

I checked Help, but did not see an answer to this
Thanks


Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Import/Export as XML
« Reply #1 on: May 20, 2003, 12:45:13 am »
Hi Michael,

When you export the XML, there is a possibility to check the EA DTD option. That option copies the DTD to the same path as your XML/XMI files.

When you copy the XML files, you need to copy the DTD as well.

So for your questions:
1) No, the path doesn't need any change;
2) No, the PATH variable is not needed when you follow the above procedure;

Greetings,
Tjerk
« Last Edit: May 20, 2003, 12:45:47 am by Tjerk »