When editing textual data, it is often convenient to insert a new sub-element that contains some text, which is already present in the document.
The Enclose in Element command lets you accomplish this with any text selection within another element. Once you select this command from the menu or toolbar, the currently selected text is cut from its parent element and inserted into a newly created child element.
If you are editing a document based on a Schema or DTD, you will automatically be presented with a list of valid choices for the kind of element you are allowed to insert in this position.
Previous
Top
Next