Altova MapForce 2025 Enterprise Edition

InsertXMLFile

Home Prev Top Next

Adds a new XML schema component to the mapping.

 

The component's internal structure is determined by the schema referenced in the specified XML file (i_strFileName) or, if the XML file does not reference a schema file, by the separately specified schema file (i_strSchemaFileName).

 

If the XML file has a schema file reference, then the parameter i_strSchemaFileName is ignored.

 

The root element of the XML file will be used in the component.

 

The specified XML file is used as the input sample to evaluate the mapping.

 

Signature

InsertXMLFile(in i_strFileName:String, in i_strSchemaFileName:String) -> Component

 

Parameters

Name

Type

Description

i_strFileName

String

The path of the instance XML file to add.

i_strSchemaFileName

String

The path of the XML Schema Definition file to add.

 

Errors

Error code

Description

1200

The object is no longer valid.

1201

Invalid address for the return parameter was specified.

1240

Changing the document not allowed. It is read-only.

1244

Failed creating component.

© 2018-2024 Altova GmbH