xpxWriteModelInXmlFormat
FUNCTION xpxWriteModelInXmlFormat (repositoryName : STRING; modelName : STRING; headerModelRepositoryName : STRING; headerModelName : STRING; excludeIncludeFilter : SET OF GENERIC; xmlFileName : STRING; realPrecision : INTEGER; options : INTEGER) status : INTEGER;
Produces an XML representation of a data model in the EDMdatabase. The produced XML representation is a well formed XML without a DTD.
Arguments
Type | Name | Comment |
STRING | repositoryName | Specifies the name of the data repository that holds the data model to make a XML representation of. Repository names are case sensitive. |
STRING | modelName | Specifies the name of the data model to be mapped to the specified XML File. Model names are case sensitive. |
STRING | headerModelRepositoryName | Specifies the name of the data repository that hosts the STEP header model to be mapped to the XML file. Repository names are case sensitive. When this <headerModelRepName> = NULL the default value <headerModelRepName> = <modelRepName> will be used. |
STRING | headerModelName | Specifies the name of the STEP header model to be mapped to the XML file. When the <headerModelRepName> = NULL, no STEP header model will be mapped to the XML file. |
SET OF GENERIC | excludeIncludeFilter | Dummy, i.e., not yet in use. |
STRING | xmlFileName | Specifies the name of the file that will hold the resulting XML file. Default file extension is ".xml". |
INTEGER | realPrecision | Specifies an integer that denotes the number of significant digits after the decimal point in a REAL number in the resulting XML file. When <realPrecision> is set to zero, a system dependent default value is used. |
INTEGER | options | Specifies the options that are enabled in the invocation of the edmWriteModelInXmlFormatBN function. The <options> value should be specified as a bitwise OR between the options to enable. |
Return Value
Options
Option | Comment |
---|---|
XPXEDM_IDENTIFIERS | Specifies that the EDMdatabase instanceID will be used as instance identifiers in the XML File such that it will be easy to find the correspondence between a mapped instance on the XML file and the same instance in the EDMdatabase. |
XPXCOMPRESSED_FILE |
|
XPXINVERSE_ATTRIBUTES | Specifies that the value of Inverse attributes will be mapped to the XML file. |
XPXDERIVE_ATTRIBUTES | Specifies that the value of Derive attributes will be mapped to the XML file. |
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.