Q&A

Q.I have an XML schema and a sample data document for my form. What’s the better choice for use as the data source generated by the Data Source Setup Wizard?
A.The easiest way to decide on the better approach is to try both. Schemas often include many attributes and elements that production documents don’t use. A form generated from such a schema will require substantial reworking, if you don’t selectively add sections and controls for the elements that you know are required. On the other hand, if the XML data document contains a wide variety of data types, using a schema eliminates the need to specify a data type for non-string elements and ensures that values entered in a form conform to the data types without the need for adding declarative ...

Get Introducing Microsoft® Office InfoPath™ 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.