Book a Demo

Author Topic: Options for Project::GenerateXSD  (Read 3441 times)

Kyle W Melton

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Options for Project::GenerateXSD
« on: August 14, 2015, 04:12:46 am »
The Enterprise Architect User Guide documents the GenerateXSD method on the Project class.  The last parameter on that method is titled "Options" and the documentation lists "GenGlobalElement=1" as an example.  

Can anyone provide the text for the other options available on the "Generate XML Schema" dialog box?  Other options would be things like "Use relative-path to reference XSDs" or "Generate XSD for Referenced packages"....

Thanks!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Options for Project::GenerateXSD
« Reply #1 on: August 14, 2015, 08:41:12 am »
If the documentation only lists one option, that's all that's been implemented at this stage.

DarinJ

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Options for Project::GenerateXSD
« Reply #2 on: October 20, 2015, 07:05:36 am »
Is there a way to use the GenerateXSD command to generate "include" elements that are not empty?  If I use the GUI to generate XSDs on the top-level package and tick the "Use relative-path to reference XSDs" option, the "include" elements are correctly generated.  But I cannot figure out how to use the GenerateXSD command to accomplish this.