Altova XMLSpy 2024 Enterprise Edition

Im unten stehenden Code wird gezeigt, wie man ein Dokument öffnet.

 

 

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