Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Kyle W Melton

Pages: [1]
1
Uml Process / Generate XML Schema - Default File Names
« on: May 13, 2016, 07:09:47 am »
Hello,

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??

Thanks,

Kyle

2
Uml Process / Enums in XSD Transformation
« on: May 12, 2016, 02:35:39 am »
Hello All,

Is there a way to make attributes of enum types generate into XSD correctly after running an XSD transformation?

Example:  I have created an enum (enum1) with a couple of possible values.  I have created a class (class1) with an attribute (attribute1) of type enum1.  When I execute the Model Transformation with the type of XSD, and then execute the "Generate XSD" feature on that transformed package, I get the following warning: "Warning no XSD type found for: "enum1".  Default is: xs:string".  This results in the following content in the xsd: "<xs:element name="attribute1" type="xs:string" minOccurs="1" maxOccurs="1"/>".  If I execute the "Generate XSD" feature before running the transformation, then the XSD comes out right....  Any ideas??

Thanks!

Kyle

3
General Board / 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!

Pages: [1]