Altova XMLSpy 2024 Enterprise Edition

The code listing below shows how to open a document.

 

 

1  // Locate samples installed with the product

2  String strExamplesFolder =

3  System.getenv("USERPROFILE") + "\\My Documents\\Altova\\XMLSpy2012\\Examples\\";

4

5

6  // Open file

7  xmlSpy.getDocuments().openFile(strExamplesFolder + "OrgChart.pxf", false);                        

 

© 2017-2023 Altova GmbH