Altova MapForce 2025 Enterprise Edition

InsertXMLSchemaInputParameter

Home Prev Top Next

Inserts an XML schema input parameter component into the current mapping.

 

The current mapping has to be a user-defined function. Trying to insert it (the schema input parameter) into the main mapping will fail.

 

Signature

InsertXMLSchemaInputParameter(in strParamName:String, in strSchemaFileName:String, in strXMLRootElementName:String) -> Component

 

Parameters

Name

Type

Description

strParamName

String

The name of the input parameter component to create.

strSchemaFileName

String

The path of the XML Schema Definition file to add.

strXMLRootElementName

String

The root element of the schema (applicable when the schema has more than one root element). If the passed root element is an empty string and more candidates are available, a Select Root Element dialog will pop up if MapForce is visible. If MapForce is invisible, no dialog box will pop up and only an error is returned.

 

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.

1243

Failed creating parameter component.

1245

This operation is not supported for the main mapping.

© 2018-2024 Altova GmbH