Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Configuring Default Root Element

The default root element is the name that TopLink uses for the root element when marshalling objects for this descriptor to, and unmarshalling from, an XML document. Descriptors used only in composite relationship mappings do not require a default root element.

For more information, see "Default Root Element".

Using TopLink Workbench

To specify a schema element as the default root element for the descriptor, use this procedure:

  1. Select a descriptor in the Navigator. Its properties appear in the Editor.

  2. Click the Descriptor Info tab. The Descriptor Info tab appears.

    Figure 32-5 Descriptor Info Tab, Default Root Element Option

    Description of Figure 32-5  follows
    Description of "Figure 32-5 Descriptor Info Tab, Default Root Element Option"

Select the Default Root Element option to specify this descriptor as the root element.

Click Browse to select the schema element to identify as the root element for this descriptor. See "Choosing a Root Element" for more information.

Choosing a Root Element

Use the Choose Root Element dialog box to select a specific root element.

Figure 32-6 Choose Root Element Dialog Box

This figure shows the Choose Root Element dialog.

Select the root element and click OK.