Altova XMLSpy 2024 Enterprise Edition

Superseded by Document.FullName

 

// ----- javascript sample -----

// instead of:

// Application.ActiveDocument.SetPathName("C:\\myXMLFiles\\test.xml");

// use now:

Application.ActiveDocument.FullName = "C:\\myXMLFiles\\test.xml";

 

Method: SetPathName (strPath as String)

 

Description

The method SetPathName sets the path of the active document. SetPathName only copies the string and does not check if the path is valid. All succeeding save operations are done into this file.

© 2017-2023 Altova GmbH