XopusCanvas.loadDocument

Loads a new document in this Xopus canvas.

The pipeline with both the XSDs and the XSLs will be preserved. If you want to load an XML file that uses a different Schema, use Editor.setURL().


XopusCanvas.loadDocument( uri : String,  ignoreUnsavedChanges : Boolean) : XopusDocument

Arguments

uri
String. The uri of the document to be loaded. If null is passed, the current document is unloaded.
ignoreUnsavedChanges
Boolean. Do not show a warning about changes in the current document.

Return Value

XopusDocument

History

version event
Xopus 4.1.2 Change. Added ignoreUnsavedChanges argument
Xopus 4.0.2 Bug. Broken. Case 191919.
Xopus 4.0.1 Bug. Broken. Case 191919.
Xopus 3.1.2 Introduction. Case 12277.