Mapping.InsertXMLSchema

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

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

Mapping.InsertXMLSchema

Method: InsertXMLSchema( i_strSchemaFileName as String, i_strXMLRootName as String ) as Component

 

Description

Adds a new XML schema component to the mapping.

 

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

 

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

 

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.

 

No XML input sample is assigned to this component.

 

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.


1244

Failed creating component.

 


(C) 2019 Altova GmbH