SYNTAX:
xpxWriteXmlFileEx (repositoryName, modelName : STRING; dataItem : GENERIC; headerRepositoryName, headerModelName : STRING; xmlConfigurationName, xmlFileName : STRING; diagnosticFile, encodingEDM, encodingXML : STRING; options : INTEGER; VAR warnings, VAR errors, VAR sdaiError : INTEGER) status : INTEGER;
To be completed.
The xpxWriteXmlFileEx function can be used to produce a XML File (Part 28 file)
The arguments in the xpxWriteXmlFileEx have the following meaning:
Argument: |
Description: |
repositoryName |
Specifies the name of the data repository that holds the model to make a XML representation of. Repository names are case sensitive. |
modelName |
Specifies the name of the data model to be mapped to the specified XML File. Model names are case sensitive. |
headerRepositoryName |
Specifies the name of the data repository that hosts the XML header model. Repository names are case sensitive. |
headerModelName |
Specifies the name of the XML Header Model in EDMdatabase that will be mapped to the Header Section in the resulting XML file. XML Header Model names are case sensitive. The specified XML Header Model must be located in the repository specified by the <repositoryName> argument. |
xmlConfigurationName |
|
xmlFileName |
Specifies the name of the file that will hold the resulting XML file. Default file extension is ?.xml?. |
diagnosticFile |
Diagnostic file. The xpxWriteXmlFileEx function will record all diagnostics found during writing of the XML file. When the <diagnosticFile> argument is set to an empty string or to indeterminate , then no diagnostic recording will be produced. |
encodingEDM |
|
encodingXML |
|
options |
The options are equivalent to the options used in the EDMinterface function edmiWriteXmlFileEx. |
warnings |
This argument will receive the number of warnings detected during the xpxWriteXmlFileEx operation. |
errors |
This argument will receive the number of errors detected during the xpxWriteXmlFileEx operation. |
sdaiError |
If the xpxWriteXmlFileEx operation is terminated due to errors in accessing the database, the argument <sdaiError> will receive the actual sdaiErrorCode causing the termination of the xpxWriteXmlFileEx operation. |
This function is equivalent to the EDMinterface function edmiWriteXmlFileEx.