Altova XMLSpy 2025 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.

© 2018-2024 Altova GmbH