pathOut = getMainPartPath(docObj) returns
the full path of the main part of the output package of the specified
document. The main part is the file that contains the XML or HTML
markup for a document.
This code returns the path to the main part
of an HTML document named MyReport. The main part
is named index.html and it is in the root of the MyReport package.
This example assumes that there is a reports folder
on the S: drive.
d = mlreportgen.dom.Document('S:\reports\MyReport','html');
d.PackageType='unzipped';
getMainPartPath(d)