Author Topic: Does Enterprise Architect's export XML function also export all the contents in  (Read 1344 times)

Fantasy.Fan

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Does Enterprise Architect's XML export function export all the contents of the folder where the current content is located, along with the selected content? How can I avoid this and only export the selected file and its referenced content?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13224
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Xml export exports the full contents of the package you select.
It doesn't contain content of the other packages.

So if you show an element from another package on your diagram, and you export the package. Then the export will only contain a placeholder for the element from other package.

There is no magic way to export a package and all the external referenced content.

You can either export the whole model, or make sure you know exactly where the referenced elements are, and export those packages as well.

Geert

Fantasy.Fan

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
I may have expressed myself incorrectly. For instance, when I export a diagram, currently it seems to export the entire folder where the diagram is located, but I only want to export the diagram itself.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13224
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Export is package based, not diagram based.

If you want to only export what is on the diagram, then you'll have to put everything on that diagram in a single package.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Or, as Geert put it once: UML is not about diagramming.

q.

Fantasy.Fan

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Of course, thank you very much.