Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: cem on February 10, 2009, 08:13:30 am

Title: xsd transformation - generate tagged values
Post by: cem on February 10, 2009, 08:13:30 am
Hi,

I'm trying xsd transformation to use xsd as intermediary to be fed into other "home-built" transformators. I'm using tagged values to specify some properties processed by those transformators. However, I couldn't find a way to generate tagged values in xsd generated by EA transformation. Any idea?

Thank you...
Title: Re: xsd transformation - generate tagged values
Post by: Eve on February 10, 2009, 09:52:14 am
Tagged values can be generated in transform like this.

Tag
{
   name="Name"
   value="Value"
}
Title: Re: xsd transformation - generate tagged values
Post by: cem on February 13, 2009, 07:11:52 am
Sorry, I couldn't understand what you meant.
Let me ask this first: Is it possible to generated tagged values of a class or attribute using EA's "Generate XML Schema" command? I see no tagged value in the generated file, is there anything specific that I should do prior to generation?

Did you mean that I should define a transformation such that it contains transformation rule like the one you exemplified?

Thank you, and please excuse me if I'm asking too ridiculous; new to transformation...
Title: Re: xsd transformation - generate tagged values
Post by: Eve on February 13, 2009, 09:26:59 am
Sorry, I thought you were using EA's XSD transform (http://www.sparxsystems.com/uml_tool_guide/mda_transformations/xsdtransformation.html), not the generate XSD (http://www.sparxsystems.com/uml_tool_guide/xml_technologies/generate_xsd.html) function.  (Which can be driven by the above transformation.)

In that case, I can't help you.