This topic describes how to export (or dump) the contents of a .prc file to an
.xml file. Exporting to an .xml file allows you to see and analyze the .prc file
structure without using any special software such as OdaPrcApp.
The OdPrcToXml sample application
contains code that illustrates how to use export to .xml functionality.
Exporting to an .xml file
Create an instance of OdPrcToXmlModule. This module implements dumping a .prc content to an .xml file:
To specify parameters of export a .prc file to an .xml file, an instance
of the ControlFlags class is used. This class stores a set of export parameters
and provides methods for getting and setting parameter values.
Note: Currently only the audit parameter for dumping is implemented.
Other parameters are ignored during the process.