makeValid
This methods will add required children to an element, remove or replace invalid existing children so that it becomes schema valid. If the content model contains a mandatory choice, Xopus will show a dialog requesting the user to make the choice between the different possible content models.
See also makeComplete
- Documentation
- › API
- › DOM API
- › makeValid
XopusNode.makeValid() : XopusNode
: XopusNodeReturn Value
History
| version | event |
|---|---|
| Xopus 4 | Deprecation. Dialog is no longer available. |
| Xopus 3 | Introduction. |