Altova XMLSpy 2024 Enterprise Edition

Event: OnCloseDocument(objDocument as Document)


XMLSpy scripting environment - VBScript:

Function On_Close Document(objDocument)

End Function


XMLSpy scripting environment - JScript:

function On_Close Document(objDocument)




XMLSpy IDE Plugin:

IXMLSpyPlugIn.OnEvent (8, ...)        // nEventId = 8



This event gets fired as a result of closing a document. Do not modify the document from within this event.

© 2018-2024 Altova GmbH