5.2 Removing an Element from a Document

To remove an XML element, select the parent of the element to be removed in the document outline. For example, to remove an 'entity' element in a document of type JavaEE>Ejb 3.0, select 'enterprise-beans' element in the document outline.

Figure 5.2.1 Document Outline with Element to be removed

Select the Design tab. Right-click on the node corresponding to the element to remove in the Design frame node panel. Select Remove in the pop-up menu.

Figure 5.2.2 Design Frame Node Panel with a Selected Element

The selected element gets removed from the Design frame node panel.

Figure 5.2.3 Design Frame Node Panel with an Element Removed

The selected element gets removed from the XML document and document outline.

Figure 5.2.4 Document with a Element Removed