Book a Demo

Author Topic: xsd transformation - generate tagged values  (Read 3055 times)

cem

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
xsd transformation - generate tagged values
« 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...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: xsd transformation - generate tagged values
« Reply #1 on: February 10, 2009, 09:52:14 am »
Tagged values can be generated in transform like this.

Tag
{
   name="Name"
   value="Value"
}

cem

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: xsd transformation - generate tagged values
« Reply #2 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...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: xsd transformation - generate tagged values
« Reply #3 on: February 13, 2009, 09:26:59 am »
Sorry, I thought you were using EA's XSD transform, not the generate XSD function.  (Which can be driven by the above transformation.)

In that case, I can't help you.