xpxWriteXmlDocument
FUNCTION xpxWriteXmlDocument (data : GENERIC; startIndex : INTEGER; maxNumberOfInstances : INTEGER; VAR actualNumberOfInstances : INTEGER; headerModelId : GENERIC; xmlConfigId : GENERIC; encodingEdm : STRING; encodingOut : STRING; options : INTEGER; xmlId : GENERIC) status : INTEGER;
Use this function to ....
Arguments
Type | Name | Comment |
GENERIC | data | comment |
INTEGER | startIndex | |
INTEGER | maxNumberOfInstances | |
INTEGER | actualNumberOfInstances | |
GENERIC | headerModelId | Header modelId containing values for the iso_10303_28_header element. |
GENERIC | xmlConfigId | Instance Id of the preferred configuration for the XML. If NULL, the system looks for a configuration with name "default" in the schema. If "default" configuration is not found EDM supplies the following one: |
STRING | encodingEdm | The encoding of data in EDM (source). Default is UTF8. Legal values are;
|
STRING | encodingOut | The desired character encoding for the destination. Default is UTF8 |
INTEGER | options | The <options> value should be specified as a bitwise OR between the options to enable. |
GENERIC | xmlId | Document exchange struct with the incoming XML. |
Return Value
Options
Option | Comment |
---|---|
XPXINCLUDE_HEADER | Include header element when writing ISO_10303_28 document |
XPXINCLUDE_CONFIGURATION | Include configuration element when writing ISO_10303_28 document |
XPXINCLUDE_SCHEMA | Include schema elements when writing ISO_10303_28 document |
XPXEXTRACT_SHALLOW | Use this option to prevent referenced instances to be exported. By default EDM will export all the instances given in <psel> or <instanceBuffer> and the entire mesh of referenced instances that spreads out from them. |
XPXEDM_IDENTIFIERS | Use the full internal instanceIds of EDM as step Ids in the exported XML file. By default, the step Ids are the local references from within each model. |
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.