Write XML document (p28e2)
Produces a XML File representation of an EDMdatabase model.
The XML File format is defined in ISO 10303-28: XML representation for EXPRESS-driven data. A XML File is also referred to as a Part 28 file.
This is one of the file exchange formats of ISO 10303, and can be used to exchange data between two EDMdatabases or between an EDMdatabase and any application that conforms to ISO 10303-28. The produced file can also be used for long time archiving of the data.
The Header Section part of the XML file can be produced from the specified existing header model in the EDMdatabase or a default Header Section will be produced when no header model is specified. A header model is a model of the HEADER_SECTION_SCHEMA defined in ISO 10303-21.
Â
Arguments:
instanceID or query? |
Specify one of the following: |
InstanceId: |
Specify an unsigned integer value denoting the EDMdatabase unique instanceID of the instance to write to XML. This argument is only effective when the <instanceID or query?> argument is set to instanceID. |
Repository: |
Specify the name of the open repository that holds the actual instance. Repository names are case sensitive. This argument is only effective when the <instanceID or query?> argument is set to query. |
Model: |
Specify the name of the model that holds the actual instance. Model names are case sensitive. This argument is only effective when the <instanceID or query?> argument is set to query. This model must be open. |
Entity: |
Specify the name of the entity, i.e. the type of the instance to display. Entity names are case insensitive. This argument is only effective when the <instanceID or query?> argument is set to query |
First instance index to check: |
Specify an integer value denoting the index, i.e., element number in the entity extent aggregate that holds all instances of the same type in a model. The value of the <First instance index to check> argument specifies the index of the first instance to be queried. The instance type is specified by the <Entity> argument. The first instance in the entity extent aggregate has index zero. |
Condition: |
Specify the conditions the actual instance should match. All queried instances will match the query when this argument is empty (blank). This argument is effective only when the <instanceID or query?> argument is set to query. |
STEP Header Model: |
Specify the name of the STEP Header Model in EDMdatabase that will be mapped to the Header Section in the resulting XML file. STEP Header Model names are case sensitive. |
Encoding in EDM: |
The encoding of data in EDM. |
XML configuration: |
The name of the XML configuration to apply. XML Configurations are unique within the scope of an Express Schema. For a short description of the configuration file see XML Configuration file. for a complete description please refere to ISO 10303-P28. |
File name: |
Specify the name of the XML file produced by this command. The default file extension is ".xml". |
Output encoding: |
The desired character encoding for the destination. Default is UTF8. |
Options:
accumulating command output: |
A global option that appends the command output to the EDMsupervisor output window. Otherwise the output window is refreshed and only the last command output is displayed. |
match selected input: |
A global option that specifies that only items that partly or exactly matches the string in the related argument input field when activating a Select button, will be in the selection list. An empty (blank) string will match all items. |
Use EDM 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. |
Invoke IFC 3D viewer: |
 |
Include header: |
Include header element when writing ISO_10303_28 document |
Include configuration: |
Include configuration element when writing ISO_10303_28 document |
Include schema: |
Include schema elements when writing ISO_10303_28 document |
Use DOM: |
Use temporary DOM object when parsing/writing |