Altova MapForce 2024 Enterprise Edition

InsertXMLSchemaOutputParameter

Home Prev Top Next

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

 

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

 

Signature

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

 

Parameters

Name

Type

Description

strParamName

String

The name of the output 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.

© 2017-2023 Altova GmbH