Book a Demo

Author Topic: How to make an xsd:attribute required using EA  (Read 3673 times)

johnmollaghan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to make an xsd:attribute required using EA
« on: November 24, 2005, 09:00:07 am »

When I add in XSD:Attributes to my complex type, and then generate the schema, it does not specify whether the attribute is required or not. The default seems to be optional.

How can I specify in EA that the XSD:attribute is required?

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: How to make an xsd:attribute required using EA
« Reply #1 on: November 24, 2005, 02:07:52 pm »
The default value of 'use' for XSDattribute stereotype is 'optional'. To change this value, select the attribute, open its tagged-value window and change the value of the tag 'use' to 'required'.

Cheers.