Chapter 3 Building an XML model


Adding an attribute to an element

Steps To add an attribute to an element:

  1. Double-click the element symbol in the diagram.

    The element property sheet is displayed.
  2. Click the Attributes tab to display the Attributes tab.
  3. Click the Add Attribute tool to add an attribute to the list.

    or

    Click an empty row in the list.
  4. Type a name and a code for the attribute.
  5. Click OK.

    The element symbol is displayed in the diagram with the attribute name. In the example, <None> indicates that no data type has been defined for the attribute.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.