When XML data is displayed in Authentic View, it is possible to manipulate individual elements using the standard editing operations of cut, copy, and paste. However, not all the XML data elements may be edited. It is therefore necessary to first test whether editing is possible. The mechanism used is as follows: First, check whether the particular editing operation is enabled; if it is, then call the method to perform that editing operation. The only method that does not have a test is the method EditSelectAll, which automatically selects all elements displayed in the document.
The following is a list of properties and methods that perform editing operations. Each property returns a boolean value. The methods have no parameter.
Undo an editing operation
Redo an editing operation
Copy the selected text to the clipboard
Cut the selected text to the clipboard
Paste clipboard text to current cursor position
Clear the selected text from the XML document