Mapping.InsertXMLSchemaOutputParameter

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  The MapForce API > Object Reference > Mapping >

Mapping.InsertXMLSchemaOutputParameter

Method: InsertXMLSchemaOutputParameter( strParamName as String, strSchemaFileName as String, strXMLRootElementName as String ) as Component

 

Description

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.

 

strParamName is the name of the output parameter component to create and strSchemaFileName and strXMLRootElementName indicate the schema file and the root element of the schema file to be used respectively.

 

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 will pop up and only an error is returned.

 

Errors


1200

The application 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.

 


(C) 2019 Altova GmbH