Hi.
1. The define method needs a TXMLObject instance. You can create this in various ways: construct it manually, from another object, from a file, a reader, a stream or a string. Please look at the newInstance methods of TXMLObject. The extension of the file is unimportant.
2. As long as your new schema is “update compatible” to your old one, it is not necessary to drop the xml documents under this schema. For more information which modifications are allowed, see the section “Schema Modifications” in the “Tamino XML Schema User Guide”. You can test this by using the define method with a TDefineMode parameter. But please note, that the usage of this method is documented as for Software AG internal use only.
3. Please ask this question in the forum “Schema Editor, Tamino Schema”. There are the experts for this topic.
Best regards,
Oliver Kleber
#API-Management#webMethods#webMethods-Tamino-XML-Server-APIs