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


TypeNameComment
GENERICdatacomment
INTEGERstartIndex 
INTEGERmaxNumberOfInstances 
INTEGERactualNumberOfInstances
GENERICheaderModelIdHeader modelId containing values for the iso_10303_28_header element.
GENERICxmlConfigId

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:
<configuration id="default"
<option
naming-convention="preserve-case"
exp-type="root"
exp-attribute="double-tag"
tagless="true"
inheritance="false"
flatten="false"
sparse="false"/>
</configuration>

STRINGencodingEdm

The encoding of data in EDM (source). Default is UTF8. Legal values are;

  • "UTF-8",
  • "UTF-16",
  • "ISO-10646-UCS-2",
  • "ISO-10646-UCS-4",
  • "ISO-LATIN-1",
  • "ISO-LATIN-2",
  • "ISO-8859-3",
  • "ISO-8859-4",
  • "ISO-8859-5",
  • "ISO-8859-6",
  • "ISO-8859-7",
  • "ISO-8859-8",
  • "ISO-8859-9",
  • "ISO-2022-jp",
  • "SHIFT_JIS",
  • "EUC-JP"
STRINGencodingOutThe desired character encoding for the destination. Default is UTF8
INTEGERoptionsThe <options> value should be specified as a bitwise OR between the options to enable.
GENERICxmlIdDocument exchange struct with the incoming XML.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


OptionComment

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.

Â