User Guide
404 Components Dictionary
DataSet.schema
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.schema
Description
Property; provides the XML representation of the schema for this DataSet object. The XML
assigned to this property must have the following format:
<?xml version="1.0"?>
<properties>
<property name="propertyName">
<type name="dataType" />
<encoder name="dataType">
<options>
<dataFormat>format options<dataFormat/>
<options/>
<encoder/>
<kind name="dataKind">
</kind>
</property>
<property> ... </property>
...
</properties>
A DataSetError exception is thrown if the XML specified does not follow the above format.
Example
The following example sets the schema of the data set my_ds to a new XML object containing
appropriately formatted XML:
my_ds.schema = new XML("<properties><property name="billable"> ..etc.. </
properties>");