extensibility

Importing a COM object


XML Authority will allow you to import COM objects, representing the object as an XML element and its properties as elements or attributes.

To import information from a COM object, select the COM Object option from the Import submenu of the File menu or choose 'COM object' from the Welcome window. The list of COM libraries registered on your system will appear, as shown below in Figure A .

Importing a COM object

Figure A - Selecting a COM library

You can tell XML Authority how it should represent the properties of the COM object and also how deeply it should traverse the object structure by clicking the Options... button and changing the settings shown in Figure B.

Import options for an ODBC table

Figure B - Setting the import options for a COM object

Once you've selected a library (or a particular file), you'll have to choose the class inside of it that you want to represent as a schema, as shown in Figure C.

Import options for a COM object

Figure C - Selecting a class

After you select the class, XML Authority will build a schema for it. A sample result (from the XML DOM document class) is shown in Figure D.

Importing a COM object

Figure D - Results of Importing a COM Object

Copyright 2000 Extensibility, Inc.

Suite 250, 200 Franklin Street, Chapel Hill, North Carolina 27516