Mapping Data to Metadata
The following table shows how the names of the elements that are children of the record element correspond to attribute settings in the configuration information for various HTCs.
HTC Using One-Tier XML Data | Data Mapping |
---|---|
DynamicTable
EditField EditSheet ListEditor |
The dataid element names contained in the record elements in the XML data should correspond to the value of the id attribute for the child elements of the fields element in the XML metadata.
The child elements of the fields element are the set: boolean, date, numeric, select, text, and time. |
ListSheet
ListEditor |
The dataid element names contained in the record elements in the XML data should correspond to the value of the id attribute for the column elements in the XML meta data.
Note
ListSheet HTCs that use this form of data display flat lists. In this case the meta data subobject element should not be used. |
Note
- Since the ListEditor HTC embeds both a ListSheet HTC and an EditSheet HTC, and its metadata contains both field elements and column elements, the dataid element is interpreted both ways.
Copyright © 2005 Microsoft Corporation.
All rights reserved.