Processing an Order in a Purchase Order System

ProcedureTo add local elements to the XML schema

  1. From the Schema window, right-click the sequence node and select Add -> Element from the pop-up menu.

    The Add Element dialog box appears.

  2. From the Add Element dialog box, do the following:

    1. Type orderId as the Name.

    2. For Type, select Use Existing Type and select Built-in Types -> int as the Current Selection.

    3. Click OK.

  3. In the same manner, add three additional elements with the values shown in the following table:

    Name 

    Type 

    Current Selection 

    Type 

    customerId 

    Use Existing Type 

    Built-in Type  

    int 

    orderDescription 

    Use Existing Type. 

    Built-in Type 

    String 

    price 

    Use Existing Type. 

    Built-in Type 

    double