Design a form based on an existing XML Schema

Microsoft Office InfoPath 2003

Show All Show All

Design a form based on an existing XML Schema

When designing a new form based on an existing XML Schema (.xsd) file, you can work with the form in many of the same ways as when you design a new, blank form, including inserting and laying out controls, adding data validation and conditional formatting, and publishing the form.

The new form will automatically re-use the data validation of the existing XML Schema.

  1. On the File menu, click Design a Form.
  2. In the Design a Form task pane, click New from XML Document or Schema.
  3. On the first page of the Data Source Wizard, click Browse.
  4. In the Open dialog box, browse to the XML Schema you want to base the form on, and then click Open.
  5. On the next page in the Data Source Wizard, click Next.
  6. On the next page in the Data Source Wizard, do one of the following:
    • If you want to include an additional XML document or XML Schema in your form, click Yes, click Next, and then repeat steps 3 through 5.
    • If you are finished adding XML documents or XML Schemas to your form, click No, and then click Finish.
  7. To begin adding controls to the form, right-click a field or group in the Data Source task pane, and then on the shortcut menu, click the control you want to insert.

Notes

Because existing XML Schemas can be more restrictive than new, blank forms, the following limitations apply:

  • You cannot automatically create the data source when inserting controls.
  • You cannot modify existing fields or groups in the data source.
  • Depending on the schema, you might not be able to add fields or groups to part or all of the data source.

The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more