Condensing existing XPCML documents results in more readable and usable XPCML source. To create condensed XPCML, use the ProgramCallDocument.condenseXPCML method.
To call condenseXPCML(), provide the following parameters to the method:
For more information about condenseXPCML() and the ProgramCallDocument class, see the following page:
ProgramCallDocument javadoc information
ProgramCallDocument.condenseXPCML() is a static method, which means that you do not have to instantiate a ProgramCallDocument object in order to call the method.
The following examples illustrate how to condense an existing XPCML document.
The first example is simple and includes original XPCML source, the resulting condensed XPCML, and the extended schema. The second example is longer and more complex, so it includes the Java™ code that calls condenseXPCML() and only a few of the newly generated type definitions in the extended schema:
Example: Condensing an existing XPCML document
Example: Condensing an existing XPCML document, including Java code