2. From the Insert bar??™s Spry category, choose Spry XML Data Set.
3. Leave the default data set name, ds1, and click Browse. In the Select XML Source dialog box, navigate
to the 18_Spry folder and locate properties.xml; click OK when you??™re ready.
4. Click Get Schema. After the Row element area is populated, click the property entry to select the
repeating node. (The repeating node is identified by the plus sign next to the angle bracket symbol.)
5. In the Data Set columns area, select bed and choose number from the Data Type list. Repeat the
same operation for bath. Select pic and choose image link from the Data Type list.
6. From the Sort list, choose proptype. Click OK to confirm your choices and close the dialog box.
Adding Spry Data
611
Powering Ajax Pages with Spry 18
Now that the XML data connection is established, let??™s drop in the Spry Data Table.
7. Delete the placeholder text Data Table and from the Insert bar??™s Spry category, choose Spry Table.
8. When the Insert Spry Table opens, make sure that the Spry Data Set list is set to ds1.
9. Choose which data columns to display by eliminating those you don??™t want to show. Select bed
from the Columns area and click Remove (??“). Repeat the operation for both bath and pic.
10.
Pages:
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100