Designer 10.7 | webMethods Service Development Help | Working with Document Types | Creating an IS Document Type | Creating an IS Document Type from an XML Document, DTD, or XML Schema | Creating an IS Document Type from an XML Document
 
Creating an IS Document Type from an XML Document
You can create an IS document type that matches the structure and fields in an XML document.
*To create an IS document type from an XML document
1. In the Service Development perspective, select File > New > Document Type
2. In the New Document Type dialog box, select the folder in which you want to save the IS document type.
3. In the Element Name field, type a name for the IS document type using any combination of letters, numbers, and/or the underscore character. For information about restricted characters, see About Element Names.
4. Click Next.
5. On the Select the Source Type panel, select XML. Click Next.
6. On the Select a Source Location panel, under Source location, do one of the following in the File/URL field:
*To create the IS document type from an XML document that resides on the Internet, type the URL of the resource. (The URL you specify must begin with http: or https:.)
*To create the IS document type from an XML document on your local file system, type in the path and file name, or click the Browse button to navigate to and select the file.
7. Click Finish to create the IS document type.
If you want to add or edit fields in the IS document type, see Creating an Empty IS Document Type.