extensibility

Import Elements and Attributes from an XML Document Structure


XML Authority allows you to import the element and attribute names and types from an XML document. It creates a good starting point for building a schema representing the document, though it doesn't try to represent the details of every possible structure. The imported information is added to the current schema. (If you chose to import an XML document from the Welcome window, XML Authority will just give you the imported information.)

To import the element and attribute names from an XML document, select the XML Document option from the Import submenu of the File menu or choose 'example XML' from the Welcome window. The dialog box shown in Figure A will ask you to locate the XML document. Select the file, and click the open button.

Element Types Window

Figure A - Selecting the XML Document

XML Authority will parse the document and create a basic schema containing its elements and attributes, as shown in Figure B.

Element Types Window

Figure B - Editing the import results

Copyright 2000 Extensibility, Inc.

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