MapForceView.InsertXMLSchemaWithSample

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

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

MapForceView.InsertXMLSchemaWithSample

Method: InsertXMLSchemaWithSample (i_strSchemaFileName as String, i_strXMLSampleName as String, i_strRootElement as String)

 

Description

obsolete

MapForceView.InsertXMLSchemaWithSample is obsolete. Use Mapping.InsertXMLFile instead. Notice, Mapping.InsertXMLFile does not require a parameter for passing the root element. The root element is automatically set as the xml file's root element name.

 

Adds a new component to the mapping.

 

The component's internal structure is determined by the specified schema file.

 

The second parameter is stored as the XML input sample for mapping evaluation.

 

The third parameter defines the root element of this schema if there is more than one candidate.

When passing an empty string as root element, the root element of the xml sample file will be used.

 

Errors


1300

The application object is no longer valid.


1301

Invalid address for the return parameter was specified.

 


(C) 2019 Altova GmbH