makeComplete
Description
This method will append required children to an empty element so that it becomes schema valid. This method should be called from within a transaction. Therefore you need to wrap or run this method in a transaction, unless you are using this method within a command. For commands, Content Editor automatically runs your code for commands wrapped in transactions.
See also makeValid.
Syntax
XopusElement .makeComplete () : XopusElement
Return Value
XopusElement . The node that was made complete.