Altova StyleVision 2025 Professional Edition

The code listing below shows how to open a document.

 

 

1  // Locate samples installed with the product.

2  String strExamplesFolder = System.getenv("USERPROFILE") + "\\My Documents\\Altova\\StyleVision2012\\StyleVisionExamples\\";

3      

4  // We open two files form the product samples.

5  stylevision.getDocuments().openDocument(strExamplesFolder + "OrgChart.pxf");

6  stylevision.getDocuments().openDocument(strExamplesFolder + "BiggestCitiesPerContinent.sps");                        

 

© 2018-2024 Altova GmbH