Author Topic: Generate XML Schema - Default File Names  (Read 1864 times)

Kyle W Melton

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Generate XML Schema - Default File Names
« on: May 13, 2016, 07:09:47 am »

Is there a way to set the default filename for a package such that it is populated automatically in the "Generate XML Schema" pop-up window? 

Could this be done using a TaggedValue??




  • EA Novice
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Generate XML Schema - Default File Names
« Reply #1 on: June 14, 2016, 10:33:10 pm »

1) Install UML Profile for XSD Schema (how to install is described here : )
2) Save
3) add some elements from the UML profile to your diagram/package
4) save again
5) Right click your package and change its stereotype to XSDschema within profile UML Profile for xsd schema, OK, close the properties
6) reopen the properties, you should now have a simpler interface that proposes "Schema" "Target" "Prefix" "Default" and "Schema".
7) once you have set the "Schema" value, it should stay as is by default.
8) should you want to unset the stereotype, click, in that interface, the "UML" button, and unset the stereotype (learned the hard way not to ignore the button).

Hope it helps :)