new File(System.getProperty("user.dir")+ "/sample-docs/glox/extracted/data-sample.xml" ) );
GloxPackage gloxPackage = (GloxPackage)OpcPackage.load(
new File(System.getProperty("user.dir")+ "/sample-docs/glox/extracted/CirclePictureHierarchy.glox" ) );
CTDiagramDefinition diagramLayoutObj = gloxPackage.getDiagramLayoutPart().getJaxbElement();
Templates layoutTreeCreatorXslt =
DiagramLayoutPart.generateLayoutTreeXSLT(
diagramLayoutObj);